Sha256: 9d9434a2eb95d577286c7020efd1929c50e5b690d77abb1341c0cb6ce72d0c12

Contents?: true

Size: 333 Bytes

Versions: 83

Compression:

Stored size: 333 Bytes

Contents

:plain
  // #{__FILE__}
  $(document).ready( function() {
    $(document).on('change', 'select[data-role="slider"]', function(event) {
      event.preventDefault();
      RubyApp.sendEvent({_class:'RubyApp::Elements::Mobile::Inputs::ToggleInput::ChangedEvent', source:$(this).attr('id'), value:$(this).val()});
    });
  });
= yield

Version data entries

83 entries across 83 versions & 1 rubygems

Version Path
RubyApp-0.5.88 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.5.87 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.5.86 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.5.85 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.5.77 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.5.76 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.5.75 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.5.74 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.5.73 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.5.72 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.5.71 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.5.70 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.5.69 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.5.68 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.5.67 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.5.66 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.5.65 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.5.64 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.5.63 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.5.62 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml