首页 文章

在QML中打印属性绑定的代码

提问于
浏览
0

有没有办法在QML中打印某个属性的属性绑定代码?

例如:

root.foo =  Qt.binding(function() {return width + "2"})
console.log(<code of root.foo>)

1 回答

相关问题