www.webOShelp.net

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

Home Resources API Reference Mojo.Controller.SceneController.setupWidget(name, attributes, model)

Mojo.Controller.SceneController.setupWidget(name, attributes, model)

Register the given attributes and model to be used with the widget of the given name.  For details on specific widgets with examples, refer to the UI Widget list.

Called by scene assistants in the setupViews() method.  If a model is specified for a widget rendered in a list item, the model will be overridden by the one defined for the list item.

Argument Type Description
name Object  
attributes Object  
model Object  
 

0 Comments

    Add Comment


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