@pss-aileen/rating-star
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Raiting Star ⭐️

0.1 刻みの「★」評価が作れるライブラリです。

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

🚧 demo


🚧 Installation

🚧 Basic

🚧 CSS

🚧 JavaScript

🚧 package manager

🚧 How to use it?

🚧 1. JavaScript

🚧 Basic

new Rating();

🚧 Basic + Options

new Rating({
  filledColor: 'pink', // color
  emptyColor: 'red', // color
});

🚧 2. HTML

<span class="rs">2.5/5</span>
<div class="rs">2.5/5</div>

Readme

Keywords

Package Sidebar

Install

npm i @pss-aileen/rating-star

Weekly Downloads

5

Version

1.0.1

License

Apache-2.0

Unpacked Size

17.7 kB

Total Files

9

Last publish

Collaborators

  • pss-aileen