https://github.com/dever404/rating-slider
Rating Slider ( Plugin jquery )
https://github.com/dever404/rating-slider
hacktoberfest hacktoberfest-accepted hacktoberfest2020 hacktoberfest2022
Last synced: about 2 months ago
JSON representation
Rating Slider ( Plugin jquery )
- Host: GitHub
- URL: https://github.com/dever404/rating-slider
- Owner: dever404
- Created: 2019-11-17T21:57:03.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-20T19:22:37.000Z (over 6 years ago)
- Last Synced: 2025-09-01T19:45:26.331Z (9 months ago)
- Topics: hacktoberfest, hacktoberfest-accepted, hacktoberfest2020, hacktoberfest2022
- Language: CSS
- Homepage:
- Size: 688 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
range reviews
-------
the plugin jquery for range slider reviews
#### Demo
https://errafaiy.github.io/rating-slider/
#### Settings
Option | Type | Description
------ | ---- | -----------
min | int | value of begin range slide icon reviews
max | int | value of end range slide icon reviews
icon | string | class name of icon
theme | string | type theme range slider tow theme ( satisfied / review )
#### Example satisfied range
```html
```
```javascript
var optionRangeSmiley = [
{min:0,max:0,icon:'icon-sad'},
{min:25,max:25,icon:'icon-frown'},
{min:50,max:50,icon:'icon-meh'},
{min:75,max:75,icon:'icon-smiley'},
{min:100,max:100,icon:'icon-grinning'},
];
theme = 'review';
$('.statisfied-review').RangeReviewSmiley(optionRangeSmiley,theme);
```
#### Example reviews range
```html
```
```javascript
var optionRangeSmiley = [
{min:0,max:30,icon:'icon-frown'},
{min:30,max:70,icon:'icon-meh'},
{min:70,max:100,icon:'icon-smiley'}
],
theme = 'satisfied';
$('.statisfied').RangeReviewSmiley(optionRangeSmiley,theme);
```
#### Browser support
Works on IE11+ in addition to other modern browsers such as Chrome, Firefox, and Safari.
#### Dependencies
jQuery 3.4.1
Bootstrap 4
#### License
Copyright (c) 2019
Licensed under the MIT license.
Free as in Bacon.