@furman1331/page-scroller
Version:
Amazing plugin for creating smooth scroll on your website
15 lines • 557 B
TypeScript
/**
* Registers the keyboard event listeners for keyup and keydown events.
*/
export declare function registerKeyboardEvents(): void;
/**
* Removes the keyboard event listeners for keyup and keydown events.
*/
export declare function destroyKeyboardEvents(): void;
/**
* Make sure that the tab key will only focus elements within the current section.
* Prevent page break when the tab key is pressed.
* @param event - The keyboard event.
*/
export declare function onTabPress(event: KeyboardEvent): void;
//# sourceMappingURL=keyboard.event.d.ts.map