CustomQueryHandler 接口
🌐 CustomQueryHandler interface
语法
🌐 Signature
export interface CustomQueryHandler
属性
🌐 Properties
|
属性 🌐 Property |
修饰符 🌐 Modifiers |
类型 🌐 Type |
描述 🌐 Description |
默认 🌐 Default |
|---|---|---|---|---|
|
queryAll |
|
(node: Node, selector: string) => Iterable<Node> |
从 node 中搜索一些与给定 🌐 Searches for some Nodes matching the given | |
|
queryOne |
|
(node: Node, selector: string) => Node | null |
从 node 中搜索与给定 🌐 Searches for a Node matching the given |