1 | import { EditableTextBase } from '../editable-text-base';
|
2 | import { Property } from '../core/properties';
|
3 | import { CSSType } from '../core/view';
|
4 | import { booleanConverter } from '../core/view-base';
|
5 | let TextFieldBase = class TextFieldBase extends EditableTextBase {
|
6 | };
|
7 | TextFieldBase.returnPressEvent = 'returnPress';
|
8 | TextFieldBase = __decorate([
|
9 | CSSType('TextField')
|
10 | ], TextFieldBase);
|
11 | export { TextFieldBase };
|
12 | TextFieldBase.prototype.recycleNativeView = 'auto';
|
13 | export const secureProperty = new Property({
|
14 | name: 'secure',
|
15 | defaultValue: false,
|
16 | valueConverter: booleanConverter,
|
17 | });
|
18 | secureProperty.register(TextFieldBase);
|
19 | export const closeOnReturnProperty = new Property({
|
20 | name: 'closeOnReturn',
|
21 | defaultValue: true,
|
22 | valueConverter: booleanConverter,
|
23 | });
|
24 | closeOnReturnProperty.register(TextFieldBase);
|
25 |
|
\ | No newline at end of file |