input ts
This commit is contained in:
parent
8e8999dd7a
commit
b36ab8f95b
8
doric-js/lib/src/widget/input.d.ts
vendored
8
doric-js/lib/src/widget/input.d.ts
vendored
@ -7,6 +7,7 @@ export declare class Input extends View {
|
|||||||
textColor?: Color;
|
textColor?: Color;
|
||||||
textSize?: number;
|
textSize?: number;
|
||||||
hintText?: string;
|
hintText?: string;
|
||||||
|
inputType?: InputType;
|
||||||
hintTextColor?: Color;
|
hintTextColor?: Color;
|
||||||
multiline?: boolean;
|
multiline?: boolean;
|
||||||
textAlignment?: Gravity;
|
textAlignment?: Gravity;
|
||||||
@ -18,4 +19,11 @@ export declare class Input extends View {
|
|||||||
requestFocus(context: BridgeContext): Promise<any>;
|
requestFocus(context: BridgeContext): Promise<any>;
|
||||||
releaseFocus(context: BridgeContext): Promise<any>;
|
releaseFocus(context: BridgeContext): Promise<any>;
|
||||||
}
|
}
|
||||||
|
export declare enum InputType {
|
||||||
|
Default = 0,
|
||||||
|
Number = 1,
|
||||||
|
NumberSigned = 2,
|
||||||
|
Alphabet = 3,
|
||||||
|
Phone = 4
|
||||||
|
}
|
||||||
export declare function input(config: Partial<Input>): Input;
|
export declare function input(config: Partial<Input>): Input;
|
||||||
|
Reference in New Issue
Block a user