You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rave.apache.org by Apache Wiki <wi...@apache.org> on 2013/03/29 19:05:15 UTC

[Rave Wiki] Update of "JSAPI" by ErinNoePayne

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Rave Wiki" for change notification.

The "JSAPI" page has been changed by ErinNoePayne:
http://wiki.apache.org/rave/JSAPI?action=diff&rev1=1&rev2=2

  invokes the destory() method on the view object, passing it any remaining arguments. <<BR>>
  - _uid String unique identifier string as defined on the view._uid that is returned from rave.renderView <<BR>>
  - args * any remaining args are passed to the registered view's destroy function <<BR>> <<BR>>
- 
- rave.setDefaultGadgetSize([width], [height]) <<BR>>
- *deprecated* I think this method should be deprecated in favor of css rules to manage gadget size. <<BR>>
- - width Int width in pixels of default gadget size. Undefined value will have no effect. <<BR>>
- - height Int height in pixels of default gadget size. Undefined value will have no effect. <<BR>> <<BR>>
- 
- rave.setDefaultGadgetView(viewName) <<BR>>
- Invokes each provider's setDefaultGadgetView method. <<BR>>
- - viewName String default view that widgets should be rendered into one is not specified.  <<BR>> <<BR>>
  
  rave.registerOnInitHandler(handler) <<BR>>
  registers a function that will be invoked after rave.init() has been called. onInit handlers will be called in the order they were registered <<BR>>