Skip to main content
Version: 20.1.2

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.