Class: Wedge::Plugins::Pjax
- Defined in:
- lib/wedge/plugins/pjax.rb
Instance Attribute Summary
Attributes inherited from Component
Instance Method Summary collapse
Methods inherited from Component
config, dom, html, html!, #method_missing, method_missing, plugin, set_dom, store, tmpl, #to_js, #wedge, #wedge_class_store, wedge_config, #wedge_config, #wedge_dom, wedge_dom, #wedge_from_client?, #wedge_from_server?, #wedge_function, wedge_html, #wedge_html, #wedge_javascript, #wedge_method_url, wedge_name, wedge_new, wedge_on, wedge_on_server, #wedge_plugin, #wedge_scope, #wedge_store, #wedge_tmpl, wedge_tmpl, #wedge_trigger
Methods included from Methods
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Wedge::Component
Instance Method Details
#get(href = false) ⇒ Object
8 9 10 11 |
# File 'lib/wedge/plugins/pjax.rb', line 8 def get href = false `$(document).trigger('page:get')` $window.history.push href, pjax: true end |