UNPKG

@vtbag/element-crossing

Version:

Sites using cross-document view transitions do full page loads of static content on navigation. The element crossing provides a way to preserve current dynamic state of selected elements across cross-document view transitions for a smoother user experienc

9 lines (8 loc) 251 B
declare const crossing: { addrWeakMap: WeakMap<any, string>; storageMap?: Map<string, any>; frameDocument?: Document; fun: import("./types").CrossingStorage; iframe?: HTMLIFrameElement; }; declare function initBorderLands(): void;