Ratings
The rating component is a specialized but crucial piece in building user widgets. Collecting user feedback via ratings is a simple analytic that can provide a lot of feedback to your product or application.
API
Components.Ratings.
添加输入框清除功能,默认图标是 Material Icons clear
关闭组件前等待的毫秒数
将指定的色彩应用与控件
应用暗黑主题变体
Components.Ratings.
Components.Ratings.
Components.Ratings.
Components.Ratings.
Components.Ratings.
Components.Ratings.
Components.Ratings.
Components.Ratings.
应用明亮主题变体
Components.Ratings.
打开组件前等待的毫秒数
Components.Ratings.
应用v-ripple
指令
设置元素的高度和宽度
Components.Ratings.
控制可见性
Components.Ratings.
示例
Size variants
Utilize the same sizing classes available in v-icon
or provide your own with the size prop.
Custom length
Sometimes an application will call for a customized implementation. Easily change length or displayed icons.
Incremented
A rating can have 3 defined icons, full-icon, half-icon (with the half-increments prop) and empty-icon.
Scoped slots
A scoped slot is provided to give you even more freedom in how you display the rating.
Card ratings
The rating component pairs well with products allowing you to gather and display customer feedback.
Advanced usage
The v-rating
component fits right in with existing components. Build truly complex examples with rich features and beautiful designs.