js: add h & v scroll bar enable for input
This commit is contained in:
2
doric-js/lib/src/widget/input.d.ts
vendored
2
doric-js/lib/src/widget/input.d.ts
vendored
@@ -28,6 +28,8 @@ export declare class Input extends View {
|
||||
editable?: boolean;
|
||||
returnKeyType?: ReturnKeyType;
|
||||
onSubmitEditing?: (text: string) => void;
|
||||
enableHorizontalScrollBar?: boolean;
|
||||
enableVerticalScrollBar?: boolean;
|
||||
/**
|
||||
* Called before text is changed
|
||||
* @param editing: text already in box
|
||||
|
@@ -123,6 +123,14 @@ __decorate([
|
||||
Property,
|
||||
__metadata("design:type", Function)
|
||||
], Input.prototype, "onSubmitEditing", void 0);
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata("design:type", Boolean)
|
||||
], Input.prototype, "enableHorizontalScrollBar", void 0);
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata("design:type", Boolean)
|
||||
], Input.prototype, "enableVerticalScrollBar", void 0);
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata("design:type", Function)
|
||||
|
Reference in New Issue
Block a user