@pss-aileen/rating-star
v1.0.0
Published
レーティングの「★」が簡単に表示できるライブラリ
Downloads
67
Readme
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>