https://github.com/aaronshaf/shaf-star-rating
Keyboard-accessible star rating element. Upgrades input element.
https://github.com/aaronshaf/shaf-star-rating
custom-elements range web-components
Last synced: 10 months ago
JSON representation
Keyboard-accessible star rating element. Upgrades input element.
- Host: GitHub
- URL: https://github.com/aaronshaf/shaf-star-rating
- Owner: aaronshaf
- License: mit
- Created: 2016-11-30T19:07:52.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-25T23:35:32.000Z (about 9 years ago)
- Last Synced: 2025-08-10T22:17:21.151Z (10 months ago)
- Topics: custom-elements, range, web-components
- Language: JavaScript
- Homepage: https://aaronshaf.github.io/shaf-star-rating/
- Size: 72.3 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## It's easy peasy

Keyboard accessible. Check out the [demo](https://aaronshaf.github.io/shaf-star-rating/). Works in IE11, Edge, Chrome, Firefox, and Safari.
```html
```
```html
```
### Usage
```html
```
### Benefits
Because this wraps an existing ``:
* It is form-friendly.
* It doesn't mess with your event handlers.
## See also
* [shaf-button](https://github.com/aaronshaf/shaf-button)
* [shaf-chart](https://github.com/aaronshaf/shaf-chart)
* [shaf-toggle](https://github.com/aaronshaf/shaf-toggle)
* [shaf-unified-diff](https://github.com/aaronshaf/shaf-unified-diff)
* [shaf-timeago](https://github.com/aaronshaf/shaf-timeago)