UNPKG

ionic-keyboard-assist

Version:

![](https://img.shields.io/badge/me-%40gesiel.com-brightgreen) ![](https://img.shields.io/npm/v/ionic-keyboard-assist?label=npm%40latest) ![](https://img.shields.io/bundlephobia/minzip/ionic-keyboard-assist/latest) ![](https://img.shields.io/npm/dm/ionic-

61 lines (60 loc) 1.42 kB
import { OnDestroy } from '@angular/core'; import { KeyboardOptionsModel } from './keyboard-options.model'; export declare class IonicKeyboardAssist implements OnDestroy { /** * Stores modified pages element */ private pages; /** * Keyboard options */ private options; constructor(); /** * Start the keyboard wizard * @param options: KeyboardOptionsModel */ init(options?: KeyboardOptionsModel): void; /** * Set keyboard options * @param options: KeyboardOptionsModel */ setOptions(options?: KeyboardOptionsModel): void; /** * Add Event Listeners */ private addEventListeners; /** * Remove Event Listeners */ private removeEventListeners; /** * On keyboard did show actions * @param event: keyboard event */ private onKeyboardDidShow; /** * On keyboard will hide actions */ private onKeyboardWillHide; /** * Get current page element */ private getActivePageElement; /** * Get current modal element */ private getActiveModalElement; /** * Add padding on the element */ private setPadding; /** * Scroll view to active element */ private scrollAssist; /** * Remove listeners on destroy */ ngOnDestroy(): void; }