Profectus / data/common / LayerTreeNode
Interface: LayerTreeNode ​
A tree node that is associated with a given layer, and which opens the layer when clicked.
Extends ​
Properties ​
[VueFeature] ​
[VueFeature]:
true
Used to identify Vue Features
Inherited from ​
Defined in ​
append? ​
optional
append:MaybeRef
<boolean
>
Whether or not to append the layer to the tabs list. If set to false, then the tree node will instead always remove all tabs to its right and then add the layer tab. Defaults to true.
Defined in ​
profectus/src/data/common.tsx:197
canClick? ​
optional
canClick:MaybeRef
<boolean
>
Whether or not this tree node can be clicked.
Inherited from ​
Defined in ​
profectus/src/features/trees/tree.tsx:46
classes? ​
Dictionary of CSS classes to apply to this feature.
Inherited from ​
Defined in ​
color? ​
optional
color:MaybeRef
<string
>
The background color for this node.
Inherited from ​
Defined in ​
profectus/src/features/trees/tree.tsx:48
components ​
components:
MaybeGetter
<Renderable
>[]
The components to render inside the vue feature
Inherited from ​
Defined in ​
display? ​
optional
display:MaybeGetter
<Renderable
>
The label to display on this tree node.
Inherited from ​
Defined in ​
profectus/src/features/trees/tree.tsx:50
glowColor? ​
optional
glowColor:MaybeRef
<string
>
The color of the glow effect shown to notify the user there's something to do with this node.
Inherited from ​
Defined in ​
profectus/src/features/trees/tree.tsx:52
id ​
id:
string
An auto-generated ID for identifying features that appear in the DOM. Will not persist between refreshes or updates.
Inherited from ​
Defined in ​
layerID ​
layerID:
string
The ID of the layer this tree node is associated with
Defined in ​
profectus/src/data/common.tsx:192
onClick()? ​
optional
onClick: (e
?) =>void
A function that is called when the tree node is clicked.
Parameters ​
e? ​
Returns ​
void
Inherited from ​
Defined in ​
profectus/src/features/trees/tree.tsx:56
onHold? ​
optional
onHold:VoidFunction
A function that is called when the tree node is held down.
Inherited from ​
Defined in ​
profectus/src/features/trees/tree.tsx:58
reset? ​
optional
reset:Reset
A reset object attached to this node, used for propagating resets through the tree.
Inherited from ​
Defined in ​
profectus/src/features/trees/tree.tsx:54
style? ​
optional
style:MaybeRef
<CSSProperties
>
CSS to apply to this feature.
Inherited from ​
Defined in ​
type ​
type: typeof
TreeNodeType
A symbol that helps identify features of the same type.
Inherited from ​
Defined in ​
profectus/src/features/trees/tree.tsx:60
visibility? ​
optional
visibility:MaybeRef
<boolean | Visibility>
Whether this feature should be visible.
Inherited from ​
Defined in ​
wrappers ​
wrappers:
Wrapper
[]
The components to render wrapped around the vue feature