Sha256: a1c19e8ed6a00d1d9909f222c202defe190b9134d9c3e17f0f5ba908e83a7414
Contents?: true
Size: 516 Bytes
Versions: 67
Compression:
Stored size: 516 Bytes
Contents
(function($) { $.widget('pageflow.skipPageButton', { _create: function() { this.element.on('click', function() { pageflow.slides.next(); }); pageflow.events.on('page:change page:update', this.update, this); this.update(); }, _destroy: function() { pageflow.events.off(null, this.update); }, update: function() { if (pageflow.slides) { this.element.toggleClass('enabled', !!pageflow.slides.nextPageExists()); } } }); }(jQuery));
Version data entries
67 entries across 67 versions & 1 rubygems