Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

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".


function abc() {
    this.start = 4;
    this.watch('start', function (prop, oldval, newval) {

    this.start = 5;

Is there something similar? Except "addEventListener"?

— asked June 15th 2010 by Jicks Steen

1 Answer

  • Push!
    I'd really like to see this feature. Is there something similar to it?

    — answered October 2nd 2011 by Anton Gildebrand
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.