Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

sergioramos/rating

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published