<script src="//code.jquery.com/jquery-latest.min.js"></script> <script src="emotion-ratings.min.js"></script> |
<div id="rating"></div> |
var emotionsArray = { angry: "😠", disappointed: "😞", meh: "😐", happy: "😊", smile: "😃", wink: "😉", laughing: "😆", inLove: "😍", heart: "❤", crying: "😢", star: "⭐", }; var emotionsArray = ['angry','disappointed','meh', 'happy', 'inLove']; |
$("#rating").emotionsRating({ emotionSize: 50, // size of emoji bgEmotion: 'happy', // background emoji emotions: emotionsArray, // emoji array color: 'gold' // emoji color: gold, red, blue, green, black, brown, pink, purple, orange }); |
Comments
Post a Comment