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