watch method not available?
I'm using Titanium Mobile 1.3.0 and Android SDK.
I want to use the "watch" method. Whenever a value is assigned to it, it should calls up a function. But I get the Error "Cannot find function watch in object".
Example:
function abc() {
this.start = 4;
this.watch('start', function (prop, oldval, newval) {
...
});
this.start = 5;
}
Is there something similar? Except "addEventListener"?
1 Answer
-
Push!
I'd really like to see this feature. Is there something similar to it?