nativescript-numeric-keyboard
Version:
Handy and elegant numeric keyboard for iOS NativeScript apps. On Android we fall back to the regular numeric keyboard.
28 lines (27 loc) • 1 kB
TypeScript
import { Color } from "@nativescript/core";
import { NumericKeyboardApi, NumericKeyboardOptions, NumericKeyboardViewBase, TextAndDecimalSeparatorHolder } from "./numeric-keyboard.common";
export declare class NumericKeyboard implements NumericKeyboardApi, TextAndDecimalSeparatorHolder {
private _keyboardDelegate;
private _keyboard;
private _nativeTextField;
private _decimalSep;
private _maxLength;
getDecimalSeparator(): string;
getText(): string;
getMaxLength(): number;
getNativeTextField(): any;
decorate(args?: NumericKeyboardOptions): Promise<any>;
}
export declare class NumericKeyboardView extends NumericKeyboardViewBase {
returnKeyTitle: string;
locale: string;
noDecimals: boolean;
noReturnKey: boolean;
noIpadInputBar: boolean;
returnKeyButtonBackgroundColor: Color;
onReturnKeyPressed?: () => boolean;
private _keyboardDelegate;
private _keyboard;
createNativeView(): Object;
private applyProperties;
}