The editor for which we are building this tree.
The mode
option from the options passed to the wed
instance. This object will construct a tree from this option.
The node with the maximum label visibility level. If multiple nodes have the same value, the earlier node "wins", and is the one provided by this property. For instance, if the root node and its submode have the same number, then this property has the root node for value.
This is a cached value, computed on first access.
Call on each decorator to add its event handlers.
Get the mode node that governs a node.
The mode that governs the node.
Load the modes, initialize them and build the tree.
A promise that resolves to this
once all the modes are loaded
and initialized.
Make the nodes of the tree. This function operates recursively: it will
inspect option
for a submode
option and will call itself to create
the necessary child nodes.
The selector associated with the options passed in the 2nd argument.
The mode option being processed.
A promise that resolves to the created node.
Call on each decorator to start listening.
Generated using TypeDoc
A tree containing the modes configured for the current editing session.