UNPKG

305 BTypeScriptView Raw
1/**
2 * Given a child DOM element, returns a query-selector statement describing that
3 * and its ancestors
4 * e.g. [HTMLElement] => body > div > input#foo.btn[name=baz]
5 * @returns generated DOM path
6 */
7export declare function htmlTreeAsString(elem: unknown): string;
8//# sourceMappingURL=browser.d.ts.map
\No newline at end of file