File size: 1,122 Bytes
369fac9 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
import BaseWrapper from './baseWrapper';
import { RefSelector } from './types';
export declare class DOMWrapper<NodeType extends Node> extends BaseWrapper<NodeType> {
constructor(element: NodeType | null | undefined);
getRootNodes(): import("./types").VueNode<NodeType>[];
getCurrentComponent(): import("vue").ComponentInternalInstance | undefined;
find<K extends keyof HTMLElementTagNameMap>(selector: K): DOMWrapper<HTMLElementTagNameMap[K]>;
find<K extends keyof SVGElementTagNameMap>(selector: K): DOMWrapper<SVGElementTagNameMap[K]>;
find<T extends Element = Element>(selector: string): DOMWrapper<T>;
find<T extends Node = Node>(selector: string | RefSelector): DOMWrapper<T>;
findAll<K extends keyof HTMLElementTagNameMap>(selector: K): DOMWrapper<HTMLElementTagNameMap[K]>[];
findAll<K extends keyof SVGElementTagNameMap>(selector: K): DOMWrapper<SVGElementTagNameMap[K]>[];
findAll<T extends Element>(selector: string): DOMWrapper<T>[];
findAllComponents(selector: any): any;
private setChecked;
setValue(value?: any): Promise<void>;
private setSelected;
}
|