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
elementundefined | ElementA 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<undefined | G3000ChecklistSetDef>

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<undefined | G3000ChecklistSetDef>

Parameters
ParameterType
timeoutnumber
Returns

Promise<undefined | G3000ChecklistSetDef>

Implementation of

ResolvableConfig.resolve