Sha256: 9eaa926fca75ffa6f4d360902f986d0ead1f7cbeeddf955edbbeb0ef1b866981
Contents?: true
Size: 1.03 KB
Versions: 9
Compression:
Stored size: 1.03 KB
Contents
:plain // #{__FILE__} $(document).ready( function() { $(document).on('pageshow', 'div[data-role="page"]', function(event) { RubyApp.queueEvent({_class:'RubyApp::Elements::Mobile::Page::ShownEvent', source:$(this).attr('id')}); }); $(document).on('pagebeforehide', 'div[data-role="page"]', function(event) { RubyApp.queueEvent({_class:'RubyApp::Elements::Mobile::Page::BeforeHiddenEvent', source:$(this).attr('id')}); }); $(document).on('pagehide', 'div[data-role="page"]', function(event) { RubyApp.queueEvent({_class:'RubyApp::Elements::Mobile::Page::HiddenEvent', source:$(this).attr('id')}); }); $(document).on('swipeleft', 'div[data-role="page"]', function(event) { RubyApp.queueEvent({_class:'RubyApp::Elements::Mobile::Page::SwipedLeftEvent', source:$(this).attr('id')}); }); $(document).on('swiperight', 'div[data-role="page"]', function(event) { RubyApp.queueEvent({_class:'RubyApp::Elements::Mobile::Page::SwipedRightEvent', source:$(this).attr('id')}); }); }); = yield
Version data entries
9 entries across 9 versions & 1 rubygems