JavaScript CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
src update domify Jul 1, 2013
.gitignore 0.0.2 Dec 9, 2012
component.json update domify Jul 1, 2013
readme.md deprecate Nov 30, 2015

readme.md

deprecated

rating

rating widget. demo

install

$ component install ramitos/rating

example

var rating = require('rating');

rating(function (el) {
  document.getElementById('rating').appendChild(el)
});

api

rating(callback)

callback arguments:

  • DOMElement

returns a new rating instance

instance()

returns the current rating number

instance.disable()

instance.enable()

license

MIT