编辑 | blame | 历史 | 原始文档

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] small | medium | large medium Rating icon size
hotkey string HotKey for changing rating value
[required] boolean false Whether rating validation is required
[requiredMessage] string Message to show if validation fails
[perRegion] boolean Use this tag to rate regions instead of the whole object
[perItem] boolean Use this tag to rate items inside the object instead of the whole object