Rating Group
The RatingGroup allows a user to add and remove ratings for an item.
The RatingGroup allows a user to add and remove ratings for an item.
API reference docs for the component. Learn about the props, CSS, and other APIs of this exported module.
number
boolean
boolean
boolean
boolean
boolean
boolean
Whether to allow half stars.
boolean
Whether to autofocus the rating.
number
'ltr' | 'rtl'
The document's text/writing direction.
boolean
Whether the rating is disabled.
string
The associate form of the underlying input element.
() => ShadowRoot | Node | Document
A root node to correctly resolve document in custom environments. E.x.: Iframes, Electron.
string
The unique identifier of the machine.
Partial<{ root: string label: string hiddenInput: string control: string rating(id: string): string }>
The ids of the elements in the rating. Useful for composition.
number
The maximum rating value.
string
The name attribute of the rating element (used in forms).
(details: HoverChangeDetails) => void
Function to be called when the rating value is hovered.
(details: ValueChangeDetails) => void
Function to be called when the rating value changes.
boolean
Whether the rating is readonly.
IntlTranslations
Specifies the localized strings that identifies the accessibility elements and their states
number
The current rating value.