Skip to main content

Review stars

Description​

<jp-review-stars> is a component that allows user to select a rating.


Attributes​

NameRequiredTypeDescription
valuenumbervalue setter
starsInputbooleanwhether stars are clickable or not
indicatorbooleanwhether indicator is displayed or not


Slots​

Used for customization of link's content.



Methods​

This component does not have any methods.



Events​

  • rating
    • triggers when star is clicked


Demo​

Live Editor
// import '../static/c/review-stars.wc.js';

<jp-review-stars></jp-review-stars>
Result
Loading...