UNPKG

@coreui/angular

Version:

CoreUI Components Library for Angular

35 lines (34 loc) 1.36 kB
import { ElementRef, Renderer2 } from '@angular/core'; import * as i0 from "@angular/core"; export declare class FormCheckInputDirective { private renderer; private hostElement; /** * Specifies the type of component. * @type {'checkbox' | 'radio'} * @default 'checkbox' */ type: 'checkbox' | 'radio'; /** * Set component indeterminate state. * @type boolean * @default false */ set indeterminate(value: boolean); get indeterminate(): boolean; private _indeterminate; /** * Set component validation state to valid. * @type boolean * @default undefined */ valid?: boolean; get hostClasses(): any; set checked(value: boolean); get checked(): boolean; constructor(renderer: Renderer2, hostElement: ElementRef); static ɵfac: i0.ɵɵFactoryDeclaration<FormCheckInputDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<FormCheckInputDirective, "input[cFormCheckInput]", never, { "type": { "alias": "type"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "valid": { "alias": "valid"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; }, {}, never, never, true, never>; static ngAcceptInputType_indeterminate: unknown; static ngAcceptInputType_checked: unknown; }