blockly > FocusManager > unregisterTree
FocusManager.unregisterTree() method
Unregisters a IFocusableTree from automatic focus management.
If the tree had a previous focused node, it will have its highlight removed. This function does NOT change DOM focus.
This function throws if the provided tree is not currently registered in this manager.
This function will reset the tree's root element tabindex if the tree was registered with automatic tab management.
Signature:
unregisterTree(tree: IFocusableTree): void;
Parameters
Parameter | Type | Description |
---|---|---|
tree | IFocusableTree |
Returns:
void