js: add h & v scroll bar enable for input

This commit is contained in:
王劲鹏
2021-07-29 16:29:01 +08:00
committed by osborn
parent fc28d3b90d
commit 729952fe2a
8 changed files with 297 additions and 41 deletions

2
doric-js/index.d.ts vendored
View File

@@ -795,6 +795,8 @@ declare module 'doric/lib/src/widget/input' {
editable?: boolean;
returnKeyType?: ReturnKeyType;
onSubmitEditing?: (text: string) => void;
enableHorizontalScrollBar?: boolean;
enableVerticalScrollBar?: boolean;
/**
* Called before text is changed
* @param editing: text already in box