We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
观察对象, a.b.c b/c的变化走会走回调
当属性发生改变的时候,function会被调用. @overload fun(key:void, func:fun(new):void)
eg: watch(data.name, watch_all, function(new) print("监听到data.name的改变", new) end)
function(string new) end