@elemental/ui / Class

LmnInputRatingComponent

No documentation has been provided.

Properties

NameTypeDescription
controlDirective
r
Signal<NgControl | ControlContainer | undefined>

Represent the Angular Control associated with the component.

dirty
r
Signal<boolean | undefined>

Indicates if the control is dirty

hasError
r
Signal<boolean | undefined>

Indicates if the control has errors

hasVisualError
r
Signal<boolean>

Indicates if the control has a visual error by checking the data-lmn-has-error attribute or the lmn-has-error class

iconEmptySvgName
r
InputSignal<string>

It changes the icon to be displayed for buttons whose cardinality is higher than the current value.

iconFilledSvgName
r
InputSignal<string>

It changes the icon to be displayed for buttons whose cardinality is lower than or equal to the current value.

isDisabled
r
Signal<boolean | undefined>

Indicates if the control is disabled

maxValue
r
InputSignalWithTransform<number, number>

It changes the number of selection buttons displayed. Accepted values: 1-10. If a non-valid value is inserted, it is ignored and the default (5) is taken.

nativeElement
r
HTMLElement
negative
r
InputSignalWithTransform<boolean, unknown>

It switches the component to its negative mode.

required
r
Signal<boolean | undefined>

Indicates if the control is required

requiredTrue
r
Signal<boolean | undefined>

Indicates if the control is true

showActiveSelectionLabel
r
InputSignalWithTransform<boolean, unknown>

If it is set to true, then activeSelectionLabel is displayed after the selection buttons.

touched
r
Signal<boolean | undefined>

Indicates if the control is touched

value
r
InputSignalWithTransform<number, number>

It changes the current items selection. When value < 1 or value > maxValue, then no items are selected.

valueChange
r
OutputEmitterRef<number>

It is emitted when the value changes and the new value is passed as parameter