Sha256: a92eb3126b1e631e27e5254d3cc1fcf90cfc4f4380fbfda6b59bfbb9c2092d74
Contents?: true
Size: 654 Bytes
Versions: 43
Compression:
Stored size: 654 Bytes
Contents
:plain // #{__FILE__} $(document).ready( function() { $(document).on('click', 'li.split-item a.item', function(event) { event.preventDefault(); RubyApp.sendEvent({_class:'RubyApp::Elements::Mobile::List::ItemClickedEvent', source:$(this).parents('ul.list').attr('id'), item:$(this).parents('li.split-item').attr('id')}); }); $(document).on('click', 'li.split-item a.link', function(event) { event.preventDefault(); RubyApp.sendEvent({_class:'RubyApp::Elements::Mobile::List::LinkClickedEvent', source:$(this).parents('ul.list').attr('id'), item:$(this).parents('li.split-item').attr('id')}); }); }); = yield
Version data entries
43 entries across 43 versions & 1 rubygems