UNPKG

ngx-form-control

Version:
17 lines (16 loc) 584 B
import { ValidationErrors } from '@angular/forms'; import { BaseControlComponent } from '../../utils/base-control.component'; export declare class FormToggleComponent extends BaseControlComponent { type: 'checkbox' | 'toggle'; private _innerValue; private _isTouch; value: boolean; readonly invalid: boolean; readonly valid: boolean; readonly errorMessages: Array<string>; readonly isCheckboxType: boolean; readonly isToggleType: boolean; writeValue(value: boolean): void; validate(): ValidationErrors; reset(): void; }