1.0.3 • Published 5 years ago

weighted-rating v1.0.3

Weekly downloads
2
License
ISC
Repository
-
Last release
5 years ago

Weighted Rating

Getting Started

Documentation

Instalation

npm i weighted-rating

Usage

const parentSelector = '#rating-wrapper';
const options = {
  sliders: [
    { value: 30, name: 'rating-1' },
    { value: 25, name: 'rating-2' },
    { value: 25, name: 'rating-3' },
    { value: 20, name: 'rating-4' }
  ]
}

WRating.create({ parentSelector, options });

Versioning

For the versions available, see the tags on this repository.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details