2.0.6 • Published 6 years ago
peako v2.0.6
peako
Installation
npm install --save peakoExample
var _ = require( 'peako/_' );
_( document ).on( 'click', 'a', function ( event ) {
event.preventDefault();
} );Installation
<script src="https://raw.githubusercontent.com/tikhiy/peako/next/dist/peako.min.js"></script>Example
var listener = _.debounce( 50, function ( event ) {
console.log( 'onscroll called!' );
} );
_( self ).scroll( listener );Development
Linting
make lintTesting
make testBefore Committing
npm run prepublishLicense
Released under the MIT license.