Skip to main content

Class: DefaultConfigFactory

A default implementation of ConfigFactory.

Implements

Constructors

constructor

new DefaultConfigFactory(): DefaultConfigFactory

Returns

DefaultConfigFactory

Methods

create

create(element): undefined | Config

Creates a configuration object from a configuration document element.

Parameters

NameTypeDescription
elementElementA configuration document element.

Returns

undefined | Config

The configuration object defined by the specified element, or undefined if the element does not define a configuration object recognized by this factory.

Implementation of

ConfigFactory.create

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Config/DefaultConfigFactory.ts:19