Rating

Rating adds rating selection

Parameters

Param Type Default Description
name string Name of the element
toName string Name of the element that you want to label
[maxRating] number 5 Maximum rating value
[defaultValue] number 0 Default rating value
[size] string "medium" One of: small, medium, large
[icon] string "start" One of: star, heart, fire, smile
hotkey string HotKey for changing rating value

Example

<View>
  <Text name="txt" value="$text" />
  <Rating name="rating" toName="txt" maxRating="10" icon="star" size="medium" />
</View>