packages/ecl/components/ecl-range/ecl-range.directive.ts
Directive enhancing native input[type=range] with ECL styles and behavior. Adds value display, bubble indicator, RTL support and integration with reactive forms.
OnInit
AfterViewInit
OnDestroy
| Selector | input[eclRange] |
Methods |
Inputs |
Outputs |
HostBindings |
HostListeners |
Accessors |
| eclSize |
Default value : 'm'
|
|
Defines the size of the range component.
Adds a corresponding size class like |
| hasValueLabel |
Default value : true, { transform: booleanAttribute }
|
|
Enables or disables the display of a value label. |
| isInvalid |
Default value : false, { transform: booleanAttribute }
|
|
Adds the |
| rangeValueId |
Type : string
|
|
ID assigned to the projected ECL range value component. |
| value |
Type : string
|
|
Initial value for the range input when used standalone. |
| class |
Type : string
|
| e2eAttr |
Type : any
|
| tabindex |
Type : number
|
| rangeChange |
Type : EclRangeEvent
|
|
Emits when the range value changes. |
| class |
Type : string
|
| class.ecl-range--invalid |
Type : boolean
|
| input |
Arguments : '$any($event)'
|
|
Handles native input events on the range element when not used with reactive forms. |
| onInput | ||||||
onInput(evt: InputEvent)
|
||||||
Decorators :
@HostListener('input', ['$any($event)'])
|
||||||
|
Handles native input events on the range element when not used with reactive forms.
Parameters :
Returns :
void
|
| getCssClasses | ||||||
getCssClasses(rootClass: string)
|
||||||
|
Parameters :
Returns :
string
|
| cssClasses |
getcssClasses()
|
| invalidState |
getinvalidState()
|