Skip to main content
Version: 21.1.1

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.