Sha256: 8e64e0949861a30bf20f20f22b9112b5ab0d4e5ed99124bd174c27b1bf3c41fb
Contents?: true
Size: 1.33 KB
Versions: 18
Compression:
Stored size: 1.33 KB
Contents
{I" class:ETI"BundledAsset; FI"logical_path; TI""nunify/plugins/btn-effects.js; FI" pathname; TI"\/Users/jahuang/workspace/nunify/vendor/assets/javascripts/nunify/plugins/btn-effects.js; FI"content_type; TI"application/javascript; TI" mtime; Tl+øSSI"length; TiuI"digest; TI"%5fbf4fc238d7830321b3576a89f5515a; FI"source; TI"u // Bind normal buttons Ladda.bind( '.ladda-btn button', { timeout: 2000 } ); // Bind progress buttons and simulate loading progress Ladda.bind( '.ladda-p-btn button', { callback: function( instance ) { var progress = 0; var interval = setInterval( function() { progress = Math.min( progress + Math.random() * 0.1, 1 ); instance.setProgress( progress ); if( progress === 1 ) { instance.stop(); clearInterval( interval ); } }, 200 ); } } ); // You can control loading explicitly using the JavaScript API // as outlined below: // var l = Ladda.create( document.querySelector( 'button' ) ); // l.start(); // l.stop(); // l.toggle(); // l.isLoading(); // l.setProgress( 0-1 ); ; TI"required_assets_digest; TI"%104e38b536a9884d6ae107fc9f25bb81; FI" _version; TI"%6584930913c75ff69ba506e1cfbae2c9; F
Version data entries
18 entries across 9 versions & 1 rubygems