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
Name | Type |
---|---|
T | extends 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
Name | Type |
---|---|
T | extends ResetButtonOptions |
Defined in
profectus/src/data/common.tsx:38
Functions
createLayerTreeNode
▸ createLayerTreeNode<T
>(optionsFunc
): LayerTreeNode
<T
>
Type parameters
Name | Type |
---|---|
T | extends LayerTreeNodeOptions |
Parameters
Name | Type |
---|---|
optionsFunc | () => T |
Returns
Defined in
profectus/src/data/common.tsx:141
createResetButton
▸ createResetButton<T
>(optionsFunc
): ResetButton
<T
>
Type parameters
Name | Type |
---|---|
T | extends ClickableOptions & ResetButtonOptions |
Parameters
Name | Type |
---|---|
optionsFunc | () => T |
Returns
ResetButton
<T
>