UNPKG

@ctodev/cclibrary-typings

Version:

Library typings for use with CLARC INFINITY

31 lines (30 loc) 1.31 kB
import { ElementRef } from '@angular/core'; import { displayFullFieldElement } from '../../tcc-abstract-display-element'; import { TccInputMask } from '../../../../models/inputMask.model'; import { UntypedFormControl } from '@angular/forms'; import { TccValidators } from '../../../../models/form-error.model'; export declare class TccSliderElementComponent extends displayFullFieldElement { slider: ElementRef; _element: TccInputMask.TccSlider; errorFormControl: UntypedFormControl; errorValidators: TccValidators[]; _getValue(onlyChanged?: boolean): TccInputMask.ValueUnion; refresh(): void; verify(): boolean; focus(): void; protected changeElement(): void; /** * emits the changeEvent -> only on changeEnd (only if the element is not readonly) * example: inputElement: after change AND focusOut; select: on select option; */ changeEvent(): void; /** * emits the changeEventExtended -> every keydown or any changes to the element (only if the element is not readonly) * * @param {boolean} changeElement if the element should be changed (_element.value) */ changeEventExtended(changeElement?: boolean): void; protected onSetElement(): void; protected onSetForm(): void; constructor(elementRef: ElementRef); }