8 lines
305 B
TypeScript
8 lines
305 B
TypeScript
|
|
/**
|
||
|
|
* Given a child DOM element, returns a query-selector statement describing that
|
||
|
|
* and its ancestors
|
||
|
|
* e.g. [HTMLElement] => body > div > input#foo.btn[name=baz]
|
||
|
|
* @returns generated DOM path
|
||
|
|
*/
|
||
|
|
export declare function htmlTreeAsString(elem: unknown): string;
|
||
|
|
//# sourceMappingURL=browser.d.ts.map
|