1(function($){ 2 3 'use strict'; 4 5 var $owl = $('#section-appscreen1 .owl-carousel'); 6 7 $owl.children().each( function( index ) { 8 $(this).attr( 'data-position', index ); // NB: .attr() instead of .data() 9 }); 10 11 $owl.owlCarousel({ 12 loop:true, 13 margin:30, 14 nav:false, 15 center: true, 16 dots:true, 17 responsive:{ 18 1655:{ 19 items:5, 20 }, 21 1200:{ 22 items:4, 23 }, 24 768:{ 25 items:3, 26 }, 27 576:{ 28 items:2, 29 spaceBetween: 15, 30 }, 31 0:{ 32 items:1, 33 } 34 } 35 }); 36 37 $(document).on('click', '#section-appscreen1 .owl-item>div', function() { 38 $owl.trigger('to.owl.carousel', $(this).data( 'position' ) ); 39 }); 40 41})(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.