Module | LiveTree::LiveTreeHelper |
In: |
live_tree.rb
|
Returns data in JSON notation appropriate for use with the :initial_data parameter of construct_live_tree_function .
Arguments:
Returns JavaScript code that constructs a JavaScript LiveTree object.
Arguments:
Embeds a LiveTree at the current location in the document.
Arguments:
If :js_variable_name is not specified, the tree is assigned to a variable with the name of the tree converted to camelcase with a lowercase first letter (e.g. if the tree is named family_tree, it will be assigned to familyTree).