You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
450 B
TypeScript
11 lines
450 B
TypeScript
import { ComponentInternalInstance, VNode } from 'vue';
|
|
import { FindAllComponentsSelector } from '../types';
|
|
/**
|
|
* Detect whether a selector matches a VNode
|
|
* @param node
|
|
* @param selector
|
|
* @return {boolean | ((value: any) => boolean)}
|
|
*/
|
|
export declare function matches(node: VNode, rawSelector: FindAllComponentsSelector): boolean;
|
|
export declare function find(root: VNode, selector: FindAllComponentsSelector): ComponentInternalInstance[];
|