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.41 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.5.40 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml
RubyApp-0.5.39 lib/ruby_app/elements/mobile/inputs/toggle_input.js.haml