UNPKG

swup

Version:

Versatile and extensible page transition library for server-rendered websites

10 lines 344 B
/** * Find the anchor element for a given hash. * * @param hash Hash with or without leading '#' * @returns The element, if found, or null. * * @see https://html.spec.whatwg.org/#find-a-potential-indicated-element */ export declare const getAnchorElement: (hash?: string) => Element | null; //# sourceMappingURL=getAnchorElement.d.ts.map