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

1.0.0 • 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 RaitingStar();

🚧 Basic + Options

new RaitingStar({
  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

67

Version

1.0.0

License

Apache-2.0

Unpacked Size

20.7 kB

Total Files

9

Last publish

Collaborators

  • pss-aileen