All Projects → luyilin → vue-cute-rate

luyilin / vue-cute-rate

Licence: other
Simple to use and very cute rate component for Vue.js.

Programming Languages

Vue
7211 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to vue-cute-rate

Apprater Dialog
A dialog which asks the user to rate the app
Stars: ✭ 77 (+79.07%)
Mutual labels:  rate
Node Rate Limiter Flexible
Node.js rate limit requests by key with atomic increments in single process or distributed environment.
Stars: ✭ 1,950 (+4434.88%)
Mutual labels:  rate
vue-json-tree
Vue component that renders JSON data in a collapsible tree structure.
Stars: ✭ 48 (+11.63%)
Mutual labels:  vue-component
Starrate
swift电商五星评价,星星评分控件,支持自定义数量、拖拽、间隔、设置最小星星数等操作
Stars: ✭ 85 (+97.67%)
Mutual labels:  rate
Androidrate
AndroidRate is a library to help you promote your Android app by prompting users to rate the app after using it for a few days.
Stars: ✭ 117 (+172.09%)
Mutual labels:  rate
Zztools
包括: StarView星星评价(支持半星, 整星, 任意星, 支持拖动, 支持自定义星星图片, 数量, 大小, 间距, 最低分值). 瀑布流(垂直, 浮动, 混合模式瀑布流)等.
Stars: ✭ 175 (+306.98%)
Mutual labels:  rate
Laravel Reactions
Laravel reactions package for implementing reactions (eg: like, dislike, love, emotion, etc) on Eloquent models.
Stars: ✭ 58 (+34.88%)
Mutual labels:  rate
vue-progressbar-component
[CSS GPU Animation] Simple progressbar for vuejs
Stars: ✭ 13 (-69.77%)
Mutual labels:  vue-component
Node Currency Swap
Currency Exchange Rates library for nodejs
Stars: ✭ 119 (+176.74%)
Mutual labels:  rate
vue-virtualised
Blazing fast scrolling and updating for any amount of list and hierarchical data.
Stars: ✭ 18 (-58.14%)
Mutual labels:  vue-component
Movie Recommender System
Basic Movie Recommendation Web Application using user-item collaborative filtering.
Stars: ✭ 85 (+97.67%)
Mutual labels:  rate
Moeda
💰 📈 A foreign exchange rates and currency conversion using CLI
Stars: ✭ 113 (+162.79%)
Mutual labels:  rate
Limitrr
Light NodeJS rate limiting and response delaying using Redis - including Express middleware.
Stars: ✭ 203 (+372.09%)
Mutual labels:  rate
Redisratelimiter
Redis Based API Access Rate Limiter
Stars: ✭ 80 (+86.05%)
Mutual labels:  rate
vue-list-picker
Just a simple list picker component made with Vue.js (works with Vue 2 & 3)
Stars: ✭ 14 (-67.44%)
Mutual labels:  vue-component
Tggstarevaluationview
星星评价视图控件
Stars: ✭ 66 (+53.49%)
Mutual labels:  rate
Ngx Bar Rating
Angular Bar Rating
Stars: ✭ 146 (+239.53%)
Mutual labels:  rate
vue-pagination-minemine
使用 vue2.0 实现一个简洁的分页组件
Stars: ✭ 52 (+20.93%)
Mutual labels:  vue-component
vuejs-countdown-timer
⏱ Vue 2 event countdown and timer component
Stars: ✭ 47 (+9.3%)
Mutual labels:  vue-component
vue-splide
The Splide component for Vue.
Stars: ✭ 257 (+497.67%)
Mutual labels:  vue-component

vue-cute-rate

NPM version NPM downloads CircleCI

Rate with star, heart, emoji or anything you like.

See the beautiful doc for vue-cute-rate. Powered by kokk 🍹

Install

yarn add vue-cute-rate --save

CDN: UNPKG | jsDelivr (available as window.rate)

API

See the doc for live demo and details.

Property Description type Default
count star count number 5
value / v-model current value number 0
star-half whether to allow semi selection boolean false
disabled read only, unable to interact boolean false
disabled-cursor set mouse cursor to not-allowed when hover a read only element boolean false
allow-clear whether to allow clear when click again boolean true
font-size set the font size of character string 22px
type there are 3 cute types of iconfont by default, star star1 and heart string star
hover-change support set hover-change to change value when hover boolean false
active-color color of the active values string #fadb14
inactive-color color of the inactive values string #e9e9e9
hover-color color when hover a value string same as activeColor by default
inactive-char the inactive character, only rendered when use a customChar slot string - (hyphen)
on-hover-change callback when hover item Function(value: number) -
on-change callback when select value Function(value: number) -

slot

rateChar

Use the slot when replace the default star to other character like alphabet, digit, iconfont or anything which can be controled by color.

The slot name is rateChar, and make sure to write slot-scope="props" :class="props.computeClass" as well. We need Scoped Slots and compute classnames by props.

customChar

Use the slot when replace the default star to other character like image, Unicode, or anything which cannot be controled by color. At the same time, you may want to set the inactive character.

The slot name is customChar, and make sure to write slot-scope="props" :class="props.computeClass" as well. We need Scoped Slots and compute classnames by props.

License

MIT © luyilin

minemine.cc · GitHub @luyilin · Twitter @luyilin12

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].