favorite-star

0.1.5 • Public • Published

<favorite-star></favorite-star>

Simple Web Component that displays a clickable "favorite star". The star has a neat animation when it's activated.

Check it out!

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!

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i favorite-star

      Weekly Downloads

      1

      Version

      0.1.5

      License

      MIT

      Last publish

      Collaborators

      • argelius