New to KendoReactStart a free 30-day trial

Represents the properties of RatingItem component.

Definition

Package:@progress/kendo-react-inputs

Properties

children?

ReactNode

Determines the children nodes.

Sets additional classes to the RatingItem.

dir?

string

Determines the RatingItem direction ltr - by default, or rtl.

half?

boolean

Determines if icon is partly selected.

hovered?

boolean

Determines if current RatingItem is hovered.

Sets the icon of current RatingItem component. See example

id?

string

Sets the id property of the top div element of the RatingItem.

Triggered after onBlur event. Gets outside access to the target element and the event type.

Parameters:eventRatingItemFocusEvent

Triggered after onClick event. Gets outside access to the target element, the new value and the event type.

Parameters:eventRatingItemMouseEvent

Triggered after onFocus event. Gets outside access to the target element and the event type.

Parameters:eventRatingItemFocusEvent

Triggered after onKeyDown event. Gets outside access to the target element, the new value and the event type.

Parameters:eventRatingItemKeyboardEvent

Triggered after onMouseEnter event. Gets outside access to the target element and the event type.

Parameters:eventRatingItemMouseEvent

Triggered after onMouseLeave event. Gets outside access to the target element and the event type.

Parameters:eventRatingItemMouseEvent

Triggered after onMouseMove event. Gets outside access to the target element and the event type.

Parameters:eventRatingItemMouseEvent

selected?

boolean

Determines if current RatingItem is selected. See example

style?

CSSProperties

Sets additional CSS styles to the RatingItem.

tabIndex?

number

Sets the tabIndex attribute.

title?

string

Sets the title of current RatingItem component. See example

value

number

Sets the current value of the RatingItem, used in controlled mode.