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=3&rev2=4

  - returns Object rave.RegionWidget object instance <<BR>> <<BR>>
  
  rave.RegionWidget.extend(mixin) <<BR>>
- convenience function to extend RegionWidget's prototype for adding custom 
functionality <<BR>>
+ convenience function to extend or override RegionWidget's prototype, allowing 
implementers to add custom functionality. <<BR>>
  - mixin Object key / value pairs to extend the RegionWidget prototype <<BR>> 
<<BR>>
  
  rave.RegionWidget.defaultView <<BR>>
@@ -128, +128 @@

  - opts Object options object that is passed to the registered widget 
provider's renderWidget method <<BR>>
  - returns Object this. Returns the regionWidget instance for chaining. <<BR>> 
<<BR>>
  
+ rave.RegionWidget.renderError(el, error) <<BR>>
+ This method should be invoked by widget providers if there is an error in 
rendering the widget.  <<BR>>
+ - el HTMLElement the DOM element the widget was to be inserted into <<BR>>
+ - error String the text if the error message <<BR>> <<BR>>
+ 
  rave.RegionWidget.prototype.close(el, opts) <<BR>>
  Closes the region widget and removes the region widget from the page 
(persisted back to rave). If the widget was rendered within a view, destroys 
that view. Invokes the widget providers closeWidget function. <<BR>>
  - opts * options object that is passed to the widget provider's closeWidget 
function <<BR>> <<BR>>

Reply via email to