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

rating-custom-element

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rating-custom-element

Rating Custom Element. Intended as plug and play HTML element to enable custom rating.

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-77.78%
Maintainers
1
Weekly downloads
 
Created
Source

rating-custom-element

:snowboarder: Rating Custom Element

Intended as plug and play HTML element to enable custom rating. Styling is left completely to the end user.

Usage

Include rating.js to your html. Add x-rating-element html element to your dom on the place where you wish to have a rating element. Options:

  • value - initial value [default: 0]
  • number - number of rating elements [default: 5]
  • default-class - class name for rank elements [default: x-rating]
  • marked-class - class name added to selected rank elements [default: x-marked]

License

MIT.

Keywords

FAQs

Package last updated on 12 Sep 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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