www.webOShelp.net

Get the latest on:webOS Developers' RSS FeedwebOS Facebook page webOS Twitter Feed

Home Resources API Reference Mojo.Controller.SceneController.removeWatcher(watcher, model)

Mojo.Controller.SceneController.removeWatcher(watcher, model)

Removes a specified model watcher. If model is undefined, then the specified watcher is removed from all models.

Called by the framework when re-rendering HTML that includes widgets so that the old/removed widgets are not notified of changes to models.

Argument Type Description
watcher Object The object owning changeFunc specified when watchModel was called.
model Object Model name.  If undefined, all registered model watchers for the given watcher are removed.
 

0 Comments

    Add Comment


      • >:o
      • :-[
      • :'(
      • :-(
      • :-D
      • :-*
      • :-)
      • :P
      • :\
      • 8-)
      • ;-)