UNPKG

1.12 kBTypeScriptView Raw
1import { TextFieldBase } from './text-field-common';
2export * from './text-field-common';
3declare class UITextFieldImpl extends UITextField {
4 private _owner;
5 static initWithOwner(owner: WeakRef<TextField>): UITextFieldImpl;
6 private _getTextRectForBounds;
7 textRectForBounds(bounds: CGRect): CGRect;
8 editingRectForBounds(bounds: CGRect): CGRect;
9}
10export declare class TextField extends TextFieldBase {
11 nativeViewProtected: UITextField;
12 private _delegate;
13 createNativeView(): UITextFieldImpl;
14 initNativeView(): void;
15 disposeNativeView(): void;
16 get ios(): UITextField;
17 private firstEdit;
18 textFieldShouldBeginEditing(textField: UITextField): boolean;
19 textFieldDidBeginEditing(textField: UITextField): void;
20 textFieldDidEndEditing(textField: UITextField): void;
21 textFieldShouldClear(textField: UITextField): boolean;
22 textFieldShouldReturn(textField: UITextField): boolean;
23 textFieldShouldChangeCharactersInRangeReplacementString(textField: UITextField, range: NSRange, replacementString: string): boolean;
24 _updateAttributedPlaceholder(): void;
25}