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.6.44 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.6.43 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.6.42 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.6.41 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.6.40 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.6.39 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.6.38 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.6.36 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.6.35 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.6.34 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.6.33 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.6.32 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.6.31 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.6.29 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.6.28 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.6.27 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.6.26 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.6.25 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.6.24 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.6.22 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml