DefinitelyTyped/types/no-scroll/index.d.ts
2019-02-14 13:27:57 +08:00

17 lines
466 B
TypeScript

// Type definitions for no-scroll 2.1
// Project: https://github.com/davidtheclark/no-scroll
// Definitions by: Zhang Yi Jiang <https://github.com/ZhangYiJiang>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Module is exported as global object outside of module loader environment
export as namespace noScroll;
interface NoScroll {
off(): void;
on(): void;
toggle(): void;
}
declare const noScroll: NoScroll;
export = noScroll;