Skip to main content
Version: 19.8.3

CustomQueryHandler interface

Signature:

export interface CustomQueryHandler

Properties

PropertyModifiersTypeDescriptionDefault
queryAlloptional(node: Node, selector: string) => Iterable<Node>Searches for some Nodes matching the given selector from node.
queryOneoptional(node: Node, selector: string) => Node | nullSearches for a Node matching the given selector from node.