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