UNPKG

417 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, keyAttrs?: string[]): string;
8/**
9 * A safe form of location.href
10 */
11export declare function getLocationHref(): string;
12//# sourceMappingURL=browser.d.ts.map
\No newline at end of file