Skip to main content

Class: DefaultConfigFactory

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Config/DefaultConfigFactory.ts:9

A default implementation of ConfigFactory.

Implements

Constructors

Constructor

new DefaultConfigFactory(): DefaultConfigFactory

Returns

DefaultConfigFactory

Methods

create()

create(element): undefined | Config

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Config/DefaultConfigFactory.ts:19

Creates a configuration object from a configuration document element.

Parameters

ParameterTypeDescription
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