UNPKG

@ng-ui-libraries/forms

Version:

33 lines (32 loc) 1.09 kB
import { EventEmitter, OnInit, OnDestroy, Injector } from '@angular/core'; import { FormControl, FormGroup, RequiredValidator } from '@angular/forms'; import { FormConfig } from '../../Service/FormConfig'; import { NgFormControl } from '../NgFormControl'; export declare class CheckBoxComponent extends NgFormControl<any> implements OnInit, OnDestroy { injector: Injector; config: FormConfig; state: string; name: string; label: string; labelPlacement: string; checkedValue: any; disabled: boolean; shouldValidate: boolean; required: boolean; parentFormControl: FormControl; parentFormGroup: FormGroup; threeState: boolean; threeStateChange: EventEmitter<boolean>; requiredChange: EventEmitter<boolean>; stateChange: EventEmitter<string>; identifier: string; checkbox: any; element: any; onInit: EventEmitter<any>; requiredValidator: RequiredValidator; constructor(injector: Injector, config: FormConfig); ngOnInit(): void; nextState(): void; updateState(): void; correctState(): void; }