@ctodev/cclibrary-typings
Version:
Library typings for use with CLARC INFINITY
33 lines (32 loc) • 1.21 kB
TypeScript
import { ElementRef } from '@angular/core';
import { displayElement } from '../../tcc-abstract-display-element';
import { TccInputMask } from '../../../../models/inputMask.model';
export declare class TccBooleanElementComponent extends displayElement {
_element: TccInputMask._DisplayCheckboxElement | TccInputMask._DisplaySwitchElement;
_value: boolean;
_default: boolean;
constructor(elementRef: ElementRef);
/**
* get the value of the element
*
* @returns element.value
*/
getValue(): boolean;
refresh(): void;
verify(): boolean;
focus(): void;
protected onSetElement(): void;
protected onSetForm(): 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;
}