nebula-rating:
[ This description is mirrored from README.md at github.com/arsnebula/nebula-rating on 2019-05-22 ]
<nebula-rating>
A customizable rating input control.
- Simple and elegant control for selecting a rating
- Customizable icon
- Supports WAI-ARIA authoring practices for a11y
Installation
$ bower install -S arsnebula/nebula-rating
Getting Started
Import the element.
<link rel="import" href="/bower_components/nebula-rating/nebula-rating.html">
Add the element.
<nebula-rating
icon="icons:star"
max="5"
value="{[value]}"
on-change="_onChange">
</nebula-rating>
Style the element.
:host {
--nebula-rating-icon-color: black;
--nebula-rating-active-icon-color: goldenrod;
--nebula-rating-icon-size: 1.5rem;
}
For more information, see the API documentation.
Contributing
We welcome and appreciate feedback from the community. Here are a few ways that you can show your appreciation for this package:
-
Give us a Star on GitHub from either webcomponents.org or directly on GitHub.
-
Submit a feature request, or a defect report on the Issues List.
-
Become a Patreon. It takes a lot of time and effort to develop, document, test and support the elements in our Nebula Essentials collection. Your financial contribution will help ensure that our entire collection continues to grow and improve.
If you are a developer, and are interested in making a code contribution, consider opening an issue first to describe the change, and discuss with the core repository maintainers. Once you are ready, prepare a pull request:
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Change Log
See CHANGELOG
License
See LICENSE