@lexical/extension/NodeSelectionExtension
Variables
NodeSelectionExtension
constNodeSelectionExtension:LexicalExtension<ExtensionConfigBase,"@lexical/extension/NodeSelection", {watchNodeKey: (key) =>ReadonlySignal<boolean>; },unknown>
Defined in: packages/lexical-extension/src/NodeSelectionExtension.ts:30
An extension that provides a watchNodeKey output that
returns a signal for the selection state of a node.
Typically used for tracking whether a DecoratorNode is currently selected or not. A framework independent alternative to useLexicalNodeSelection.