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

View File

@@ -81,6 +81,12 @@ export class Input extends View {
@Property
onSubmitEditing?: (text: string) => void
@Property
enableHorizontalScrollBar?: boolean
@Property
enableVerticalScrollBar?: boolean
/**
* Called before text is changed
* @param editing: text already in box