Typed context exposed to a *cngxRatingItem glyph template
CngxRatingItemContext
Interface
projects/forms/input/rating/rating-item.directive.ts
Referenced by#
Import#
import { CngxRatingItemContext } from '@cngx/forms/input'
Description#
Typed context exposed to a *cngxRatingItem glyph template.
index- zero-based position of the star in the strip.step- the numeric value this star commits when chosen.filled-truewhen the rating value reaches or exceeds this star (cumulative fill, not exact-match).half-trueonly when[allowHalf]is on and the value sits exactly half a step below this star.disabled- the effective disabled state of the control.