kor TürkçeGitHub

Rating

Collects or shows a star rating.

kor/ui/RatingSource

When to use

  • Use it for supplier or service feedback.

Examples

Rate and show

Loading the example

<k:Stack gap="16">
	<k:Rating label="Delivery quality" value="4"/>
	<k:Rating label="Average" value="3.6" readOnly="true"/>
</k:Stack>

API

Properties

NameTypeDefaultDescription
valuefloat0Rating
maxint5Maximum
labelstringLabel
readOnlybooleanfalseWhether the rating is display only. Fractions are drawn
enabledbooleantrueWhether the control is enabled

Events

NameTypeDescription
changevalue: floatThe rating changed

Related

SliderRadioGroup