UNPKG

308 BTypeScriptView Raw
1declare const createScrollHistory: (win: Window, applicationScrollKey?: string) => {
2 set: (key: string, value: [number, number]) => void;
3 get: (key: string) => [number, number] | undefined;
4 has: (key: string) => boolean;
5 capture: (key: string) => void;
6};
7export default createScrollHistory;