star-rating-tag
v0.2.1
Published
A Web Component that displays rating using stars. Number of stars is customizable and it supports fractions.
Downloads
5
Readme
Star Rating
A Web Component that displays a rating using unicode stars. Supports fraction and customizing the number of stars.
Usage
Use the <star-rating>
tag in your page:
<star-rating max="10" value="6.5"></star-rating>
Demo
You can check out a demo here.
Install it with bower
:
$ bower install star-rating-tag
or with npm
:
$ npm install star-rating-tag
Include it in your page:
<link rel="import" href="path/to/star-rating.html">