Customize values
21 Feb 2017 / 1 minute to read
The “data-ej-maxvalue” attribute is used to denote the maximum value up to which the rating can be accepted. The data-ej-minvalue attribute is used to denote the minimum rating value. The “data-ej-value” attribute specifies the current selection value. The “data-ej-incrementstep” attribute specifies the step value incrementation between each rating value (star) selection.
<div id="rating_sample" data-role="ejmrating" data-ej-minvalue=2 data-ej-maxvalue=6 data-ej-value=4 data-ej-incrementstep=1>
</div>
The following screenshot displays the output.
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page