Components
    • Animation
    • Barcodes
    • Buttons
    • Charts
    • Common Utilities
    • Conversational UI
    • Data Grid
    • Data Query
    • Data Tools
    • Date Inputs
    • Date Math
    • Dialogs
    • Drawing
    • Dropdowns
    • Editor
    • Excel Export
    • File Saver
    • Form
    • Gantt
    • Gauges
    • Indicators
    • Inputs
    • Labels
    • Layout
    • ListBox
    • ListView
    • Mapbeta
    • Notification
    • PDF Processing
    • PivotGrid
    • Popup
    • Progress Bars
    • Ripple
    • Scheduler
    • ScrollView
    • Sortable
    • TaskBoard
    • Tooltips
    • TreeList
    • TreeView
    • Upload
    Sample Applications
    Styling & Themes
    Common Features
    Project Setup
    Changelog

RatingItemProps

Represents the properties of [RatingItem](% slug api_inputs_ratingitem %) component.

NameTypeDefaultDescription

children?

React.ReactNode

Determines the children nodes.

className?

string

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.

icon?

any

Sets the icon of current RatingItem component. See example

id?

string

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

selected?

boolean

Determines if current RatingItem is selected. See example

style?

React.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.

Methods

onBlur

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

Parameters

event

RatingItemFocusEvent

onClick

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

Parameters

event

RatingItemMouseEvent

onFocus

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

Parameters

event

RatingItemFocusEvent

onKeyDown

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

Parameters

event

RatingItemKeyboardEvent

onMouseEnter

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

Parameters

event

RatingItemMouseEvent

onMouseLeave

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

Parameters

event

RatingItemMouseEvent

onMouseMove

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

Parameters

event

RatingItemMouseEvent