Rating

Basic

ratingValue: 3.25
<vnt-rating v-model="ratingValue" />

Read-only

ratingValue: 3.25
<vnt-rating v-model="ratingValue" readonly />

Disabled

ratingValue: 3.25
<vnt-rating v-model="ratingValue" disabled />

Custom scale

ratingValue: 6.7
<vnt-rating v-model="ratingValue" max="10" />

Configuration

disabled

Default: false

Determines whether the rating control should be in disabled mode or not.

max

Default: 5

Controls the number of stars.

readonly

Default: false

Determines whether the rating control should be in read-only mode or not.

value

Default: 0

Sets the rating's initial value.