eds-rating
Explore the Interactive Component
Use the playground below to experiment with the component. Click the button to view the full Storybook deployment for additional examples and configurations.
See It in Use with Code
Check out this practical implementation of component.
Plain HTML
In React
In Vue
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
ratingCount | rating-count | Number of stars in the rating system. | number | 5 |
ratingType | rating-type | The type of icon to display. Can be “stars” or “thumbs”. | "star" | "thumbs-down" | "thumbs-up" | 'star' |
Events
Event | Description | Type |
---|---|---|
rating | Event emitted when the rating is changed. | CustomEvent<number> |
Dependencies
Used by
Depends on
Graph
Built with StencilJS
Last updated on