Skip to main content

Class: ChecklistConfig

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Checklist/ChecklistConfig.ts:8

A configuration object which defines checklist options.

Implements​

Constructors​

Constructor​

new ChecklistConfig(element): ChecklistConfig

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Checklist/ChecklistConfig.ts:19

Creates a new ChecklistConfig from a configuration document element.

Parameters​

ParameterTypeDescription
elementElement | undefinedA configuration document element.

Returns​

ChecklistConfig

Properties​

checklistFileURL?​

readonly optional checklistFileURL: string

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Checklist/ChecklistConfig.ts:13

The URL of the file from which to parse the checklist definition.


isResolvableConfig​

readonly isResolvableConfig: true = true

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Checklist/ChecklistConfig.ts:10

Flags this object as a ResolvableConfig.

Implementation of​

ResolvableConfig.isResolvableConfig

Methods​

resolve()​

resolve(): (timeout) => Promise<G3000ChecklistSetDef | undefined>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Checklist/ChecklistConfig.ts:39

Resolves this config to a value.

Returns​

This config's resolved value.

(timeout): Promise<G3000ChecklistSetDef | undefined>

Parameters​
ParameterType
timeoutnumber
Returns​

Promise<G3000ChecklistSetDef | undefined>

Implementation of​

ResolvableConfig.resolve