Flowdock
method

update_page

Importance_1

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.0.9) is shown here.

update_page(&block) public

Yields a JavaScriptGenerator and returns the generated JavaScript code. Use this to update multiple elements on a page in an Ajax response. See JavaScriptGenerator for more information.

Example:

update_page do |page|
  page.hide 'spinner'
end
Show source
Register or log in to add new notes.