Module: JQueryOnRails::Helpers::JavaScriptElementCompatibility
- Defined in:
- lib/jquery_on_rails/helpers/jquery_helper.rb
Overview
Compatibility methods that can be mixed into JavaScriptElementProxy to provide at least some level of compatibility for code that tries to access or set properties directly onto the element object.
Instance Method Summary collapse
Instance Method Details
#[](attribute) ⇒ Object
398 399 400 401 |
# File 'lib/jquery_on_rails/helpers/jquery_helper.rb', line 398 def [](attribute) refer_to_native_element! super end |