Skip to main content

Interface: ConfigFactory

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Config/Config.ts:26

A configuration object factory.

Methods

create()

create(element): undefined | Config

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Config/Config.ts:33

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.