CustomQueryHandler interface
Signature
export interface CustomQueryHandler
Properties
Property
|
Modifiers
|
Type
|
Description
|
Default
|
queryAll
|
`optional`
|
(node: Node, selector: string) => Iterable<Node>
|
Searches for some [Nodes](https://developer.mozilla.org/en-US/docs/Web/API/Node) matching the given `selector` from [node](https://developer.mozilla.org/en-US/docs/Web/API/Node).
|
|
queryOne
|
`optional`
|
(node: Node, selector: string) => Node \| null
|
Searches for a [Node](https://developer.mozilla.org/en-US/docs/Web/API/Node) matching the given `selector` from [node](https://developer.mozilla.org/en-US/docs/Web/API/Node).
|
|