UNPKG

@gobistories/gobi-web-integration

Version:

This library will let you put your Gobi stories on your site.

21 lines (20 loc) 640 B
interface OverflowStyle { width?: string; minHeight: string; overflow: string; paddingRight?: string; } declare class ScrollStopper { protected initialStyle: OverflowStyle; protected target: HTMLElement; constructor(); protected resolveInitialStyle(style: CSSStyleDeclaration): void; protected disabledStyle: OverflowStyle; protected _scrollBarWidth: undefined | number; protected get scrollbarWidth(): number; enableScrolling(): void; disableScrolling(): void; } export declare function createScrollStopper(): ScrollStopper; export declare const useScrollStopper: () => void; export {};