www.webOShelp.net

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

Home

Spinner

Example usage:

<div x-mojo-element="Spinner" class='feedSpinner' name='feedSpinner'></div>

And in the scene assistant:

this.spinnerModel= {
   value: false
}; 
this.controller.setupWidget('feedSpinner', this.spinnerModel);

To turn on the widget:

this.spinnerModel.value = true;
this.controller.modelChanged(spinnerModel, this);