Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rater-js

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rater-js - npm Package Compare versions

Comparing version 0.5.2 to 0.5.3

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc