UNPKG

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