handle input on text change & padding

This commit is contained in:
王劲鹏
2021-05-27 10:56:58 +08:00
committed by osborn
parent 143e52ab63
commit 2782552b41
11 changed files with 108 additions and 0 deletions

View File

@@ -5,6 +5,8 @@ import "util.mjs" as Util
import "gravity.mjs" as Gravity
TextArea {
property var wrapper
property var uuid: Util.uuidv4()
property var tag: "Input"
@@ -62,6 +64,7 @@ TextArea {
onTextChanged: {
console.log(tag, uuid + " onTextChanged: " + this.text)
inputBridge.onTextChange(wrapper, this.text)
}
property var borderWidth: 0