Module: data/common

Interfaces

Type aliases

GenericLayerTreeNode

Ƭ GenericLayerTreeNode: Replace<LayerTreeNode<LayerTreeNodeOptions>, { append?: ProcessedComputable<boolean> ; display: ProcessedComputable<string> }>

Defined in

profectus/src/data/common.tsx:133


GenericResetButton

Ƭ GenericResetButton: Replace<GenericClickable & ResetButton<ResetButtonOptions>, { canClick: ProcessedComputable<boolean> ; display: ProcessedComputable<CoercableComponent> ; resetDescription: ProcessedComputable<string> ; showNextAt: ProcessedComputable<boolean> }>

Defined in

profectus/src/data/common.tsx:49


LayerTreeNode

Ƭ LayerTreeNode<T>: Replace<TreeNode<T>, { append: GetComputableType<T["append"]> ; display: GetComputableTypeWithDefault<T["display"], T["layerID"]> }>

Type parameters

NameType
Textends LayerTreeNodeOptions

Defined in

profectus/src/data/common.tsx:126


ResetButton

Ƭ ResetButton<T>: Replace<Clickable<T>, { canClick: GetComputableTypeWithDefault<T["canClick"], Ref<boolean>> ; display: GetComputableTypeWithDefault<T["display"], Ref<JSX.Element>> ; onClick: VoidFunction ; resetDescription: GetComputableTypeWithDefault<T["resetDescription"], Ref<string>> ; showNextAt: GetComputableTypeWithDefault<T["showNextAt"], true> }>

Type parameters

NameType
Textends ResetButtonOptions

Defined in

profectus/src/data/common.tsx:38

Functions

createLayerTreeNode

createLayerTreeNode<T>(optionsFunc): LayerTreeNode<T>

Type parameters

NameType
Textends LayerTreeNodeOptions

Parameters

NameType
optionsFunc() => T

Returns

LayerTreeNode<T>

Defined in

profectus/src/data/common.tsx:141


createResetButton

createResetButton<T>(optionsFunc): ResetButton<T>

Type parameters

NameType
Textends ClickableOptions & ResetButtonOptions

Parameters

NameType
optionsFunc() => T

Returns

ResetButton<T>

Defined in

profectus/src/data/common.tsx:59