module NfgUi::Bootstrap::Utilities::Remotable
Turns remote: true functionality on for components that need it.
Public Instance Methods
data()
click to toggle source
Calls superclass method
# File lib/nfg_ui/bootstrap/utilities/remotable.rb, line 8 def data remote ? super.merge!(remote: remote.to_s) : super end
remote()
click to toggle source
# File lib/nfg_ui/bootstrap/utilities/remotable.rb, line 12 def remote options.fetch(:remote, nil) end
Private Instance Methods
non_html_attribute_options()
click to toggle source
Calls superclass method
# File lib/nfg_ui/bootstrap/utilities/remotable.rb, line 18 def non_html_attribute_options super.push(:remote) end