rating-custom-element
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "rating-custom-element", | ||
"version": "0.0.1", | ||
"description": "Rating Custom Element. Intended as plug and play HTML element to enable custom rating.", | ||
"version": "0.0.2", | ||
"description": "Rating Custom Element. Intended as plug and play HTML element to enable custom rating. For in-browser usage.", | ||
"main": "src/index.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
# 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. | ||
Intended as plug and play HTML element to enable custom rating. Styling is left completely to the end user. For in-browser usage. | ||
## Installation | ||
Available via npm: | ||
``` | ||
npm i rating-custom-element | ||
``` | ||
## Usage | ||
Include ```rating.js``` to your html. | ||
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. | ||
@@ -10,0 +19,0 @@ Options: |
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
7638
30