favorite-star
v0.1.5
Published
Web Component element that displays a "favorite star".
Downloads
19
Readme
<favorite-star></favorite-star>
Simple Web Component that displays a clickable "favorite star". The star has a neat animation when it's activated.
Usage
Just put it in your page:
<favorite-star></favorite-star>
You can use the attribute active
to display a golden star:
<favorite-star active></favorite-star>
Installation
Install it with bower
:
$ bower install favorite-star
or with npm
:
$ npm install favorite-star
Include it in your page:
<link rel="import" href="path/to/favorite-star.html">
That's all Folks!