Options
All
  • Public
  • Public/Protected
  • All
Menu

weighted-rating

Weighted Rating

Getting Started

Documentation

Instalation

npm

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

Generated using TypeDoc