Comparing version 0.5.2 to 0.5.3
{ | ||
"name": "rater-js", | ||
"description": "Star rating widget for the browser.", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "type": "git", |
@@ -91,11 +91,13 @@ Rater Js | ||
element: HtmlElement, required | ||
rateCallback: Function | ||
max: "Number of stars" | ||
showToolTip: true/false | ||
starSize: "Width and height of the star image in pixels" | ||
disableText: "Text" | ||
ratingText: "Text {rating} {maxRating}" | ||
isBusyText: "Text", //displayed while user is rating but done not called yet | ||
readOnly: true/false | ||
| Property | Description | | ||
| ------------- |:----------------------:| | ||
| element | HtmlElement. Required. | | ||
| rateCallback | Function. Triggered when star i clicked. | | ||
| max | Number. Number of stars to show. | | ||
| showToolTip | true/false. Will show or not show tooltip when hover the stars. | | ||
| starSize | Number. Width and height of the star image. | | ||
| disableText | Text to show when disabled. | | ||
| ratingText | Text to show when hover over stars. Text {rating} {maxRating}. | | ||
| isBusyText | displayed while user is rating but done not called yet. | | ||
| readOnly | true/false. Will disable the rater. | | ||
@@ -102,0 +104,0 @@ ## Methods |
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
36916
120