Flowdock
method

[]

Importance_1
v3.0.9 - Show latest stable - 0 notes - Class: ActionView::Helpers::JavaScriptElementProxy
[](attribute) public

Allows access of element attributes through attribute. Examples:

page['foo']['style']                  # => $('foo').style;
page['foo']['style']['color']         # => $('blank_slate').style.color;
page['foo']['style']['color'] = 'red' # => $('blank_slate').style.color = 'red';
page['foo']['style'].color = 'red'    # => $('blank_slate').style.color = 'red';
Show source
Register or log in to add new notes.