VRating API
name | type | default |
|---|---|---|
string
| undefined | |
The applied color when the component is in an active state. | ||
boolean
| false | |
Allows for the component to be cleared by clicking on the current value. | ||
string
| undefined | |
Applies specified color to the control - supports utility colors with or without | ||
'default' | 'comfortable' | 'compact' | 'default' | |
Adjusts the vertical height used by the component. | ||
boolean
| false | |
Removes the ability to click or target the component. | ||
| string | (string | [string, number])[] | (new () => any) | FunctionalComponent | '$ratingEmpty' | |
The icon displayed when empty. | ||
| string | (string | [string, number])[] | (new () => any) | FunctionalComponent | '$ratingFull' | |
The icon displayed when full. | ||
boolean
| false | |
Allows the selection of half increments. | ||
boolean
| false | |
Provides visual | ||
string
| '$vuetify.rating.ariaLabel.item' | |
The aria-label used for each item. | ||
string
| 'top' | |
Position of item labels. Accepts ‘top’ and ‘bottom’. | ||
string[] | undefined | |
Array of labels to display next to each item… | ||
string | number | 5 | |
The amount of items to show. | ||
string | number | 0 | |
The v-model value of the component. If component supports the multiple prop, this defaults to an empty array. | ||
string
| undefined | |
Sets the component’s name attribute. | ||
boolean
| false | |
Removes all hover effects and pointer events. | ||
boolean
| false | |
Applies the v-ripple directive. | ||
string | number | 'default' | |
Sets the height and width of the component. Default unit is px. Can also use the following predefined sizes: x-small, small, default, large, and x-large. | ||
string | (new () => any) | FunctionalComponent | 'div' | |
Specify a custom tag used on the root element. | ||
string
| undefined | |
Specify a theme for this component and all of its children. | ||
name | type | |
|---|---|---|
[string | number] | ||
Event that is emitted when the component’s model changes. | ||
The slot for each item. | ||
The slot for each item label. | ||
name | default |
|---|---|
center | |
1 | |
transform | |
var(--v-hover-opacity) | |
scale(1.25) | |
settings.$decelerated-easing | |
nowrap |