nuxt-rating
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "nuxt-rating", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"configKey": "nuxtRating", | ||
@@ -5,0 +5,0 @@ "compatibility": { |
{ | ||
"name": "nuxt-rating", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Display or retrieve a score on a fully customisable scale.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/Aurion72/nuxt-rating#readme", |
@@ -31,3 +31,2 @@ <!-- | ||
- Display decimal ratings. | ||
- Display decimal ratings. | ||
- Inspired by Vue Star Rating. | ||
@@ -61,3 +60,3 @@ | ||
```js | ||
<NuxtRating :read-only="false" :ratingValue="3.5" /> | ||
<NuxtRating :read-only="false" :rating-value="3.5" /> | ||
``` | ||
@@ -73,3 +72,4 @@ | ||
- `ratingSize` (optional, default: "32px"): The size of the rating meter. | ||
- `letterSpacing` (optional, default: "0px"): The spacing between the rating levels. | ||
- `ratingSpacing` (optional, default: 0): The spacing between the rating levels. | ||
- `ratingStep` (optional, default: 0): Defines the increment between rating levels. For example, with ratingStep set to 0.5, users can select ratings like 0.5, 1, 1.5, etc. | ||
- `activeColor` (optional, default: "#ffc700"): The color of the active rating level. | ||
@@ -83,2 +83,3 @@ - `inactiveColor` (optional, default: "gray"): The color of the inactive rating levels. | ||
- `roundedCorners` (optional, default: false): Specifies whether the stars should have rounded corners. | ||
- `inline` (optional, default: false): Adds `display: inline-flex` to the wrapper. | ||
- `clearable` (optional, default: false): Specifies whether the rating can be cleared. | ||
@@ -113,3 +114,2 @@ | ||
:border-width="5" | ||
:fixed-points="2" | ||
:rating-size="30" | ||
@@ -134,3 +134,2 @@ :rating-value="4.5" | ||
:border-width="5" | ||
:fixed-points="2" | ||
:rating-size="10" | ||
@@ -161,3 +160,2 @@ :rating-value="3.7" | ||
:border-width="0" | ||
:fixed-points="2" | ||
:rating-size="30" | ||
@@ -164,0 +162,0 @@ :rating-value="4.5" |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19343
181