UNPKG

capacitor-native-input-dialog

Version:

Capacitor plugin for native input dialogs with enhanced text input experience on mobile devices

18 lines (17 loc) 707 B
import { WebPlugin } from '@capacitor/core'; import type { NativeInputPlugin, NativeInputOptions, NativeInputResult, NativeOverlayOptions, UpdateOverlayOptions } from './definitions'; export declare class NativeInputWeb extends WebPlugin implements NativeInputPlugin { private overlayMap; showNativeInput(options: NativeInputOptions): Promise<NativeInputResult>; createNativeOverlay(options: NativeOverlayOptions): Promise<{ id: string; }>; updateNativeOverlay(options: UpdateOverlayOptions): Promise<void>; removeNativeOverlay(options: { id: string; }): Promise<void>; isAvailable(): Promise<{ available: boolean; }>; private getInputType; }