kudojs

1.0.0 • Public • Published

kudos

animation

Install: npm install yusukeshibata/kudos

Kudos implementation like svbtle.com.

var kudos =require('kudos');
var k = kudos(document.querySelector('.kudo'),{
  // set initial state(true:already kudoed.)
  state:false,
  // on kudo
  onkudo:function(next) {
    someajaxrequest(function(err,result) {
      next();
    });
  }
});

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i kudojs

Weekly Downloads

5

Version

1.0.0

License

MIT

Last publish

Collaborators

  • yusukeshibata