@ernane/svelte-star-rating
Advanced tools
Comparing version 1.1.3 to 1.1.4
{ | ||
"name": "@ernane/svelte-star-rating", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "Simple component to assign scores based on stars.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -48,3 +48,5 @@ <h1 align="center"> | ||
| scoreFormat| `function` | false | precent | | ||
| name | `String` | false | "" | | ||
In addition, we have two other nested attributes that specify distinct settings. | ||
@@ -84,2 +86,3 @@ | ||
scoreFormat: function(){ return `(${this.score.toFixed(0)}/${this.countStars})` }, | ||
name: "", | ||
starConfig: { | ||
@@ -86,0 +89,0 @@ size: 30, |
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
63613
132