star-rating
Star Rating Component
Vaadin Component for @manufosela/stars-rating https://www.npmjs.com/package/@manufosela/stars-rating https://github.com/manufosela/stars-rating
Testet with Vaadin 21.0.2 Source: https://github.com/DerAzubi/vaadin-star-rating
Sample code
// Component erstellen StarsRating starsRating = new StarsRating(); // Listener Hinzufügen starsRating.addValueChangeListener(e -> { System.out.println("Value has changed to: " + starsRating.getValue()); }); // Button zum auslesen erstellen Button btn = new Button("Test Button"); btn.addClickListener(e -> { System.out.println("Value: " + starsRating.getValue()); }); // Components zum Layout hinzufügen add(starsRating, btn);
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
- Released
- 2023-03-07
- Maturity
- BETA
- License
- Artistic License 2.0
Compatibility
- Framework
- Vaadin 21+
- Vaadin 14+ in 1.0.0
- Browser
- Google Chrome
star-rating - Vaadin Add-on Directory
Star Rating ComponentVaadin Component for @manufosela/stars-rating
https://www.npmjs.com/package/@manufosela/stars-rating
https://github.com/manufosela/stars-rating
Testet with Vaadin 21.0.2
Source: https://github.com/DerAzubi/vaadin-star-rating
View on GitHubstar-rating version 1.0.0
First Version