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. For in-browser usage.

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

rating-custom-element

Open Source Love license js-semistandard-style package version install size dependecies

:snowboarder: Rating Custom Element

Intended as plug and play HTML element to enable custom rating. Styling is left completely to the end user. For in-browser usage.

View demo.

Installation

Available via npm:

npm i rating-custom-element

Usage

Include rating-element.js to your html or import "rating-custom-element" if installed via npm. 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 09 Oct 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