add on focus change

This commit is contained in:
王劲鹏
2021-05-27 14:00:19 +08:00
committed by osborn
parent 2782552b41
commit 6f5174df60
6 changed files with 21 additions and 2 deletions

View File

@@ -67,6 +67,11 @@ TextArea {
inputBridge.onTextChange(wrapper, this.text)
}
onFocusChanged: {
console.log(tag, uuid + " onFocusChanged: " + this.focus)
inputBridge.onFocusChange(wrapper, this.focus)
}
property var borderWidth: 0
onBorderWidthChanged: {
bg.border.width = borderWidth