Skip to main content

Rating

Users provide feedback or express preferences by assigning a score, usually in the form of stars, hearts, thumbs, or numerical values.

Properties

Custom

Precision 'number' precision

Determines the rating precision level, such as Full, Half, Quarter, or Exact.

Show Label 'boolean' showlabel

Displays a label indicating how many stars (or rating units) have been selected.

Label Position 'string' labelposition

Specifies the position of the rating label—options include Top, Bottom, Right, or Left.

Items Count 'number' labelposition

Defines how many rating items (e.g., stars or icons) are shown, based on screen or client requirements.

Shape 'number' shape

Represents the visual style of the rating icons—such as Emojis, Hearts, Thumbs, or Stars.

Allow Reset 'boolean' allowReset

Enables users to modify their rating in case they selected the wrong option.


Methods

For more information on Methods in this section, see the General-Methods