UNPKG

design-angular-kit

Version:

Un toolkit Angular conforme alle linee guida di design per i servizi web della PA

42 lines (41 loc) 1.71 kB
import { OnChanges, OnInit, SimpleChanges } from '@angular/core'; import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component'; import * as i0 from "@angular/core"; import * as i1 from "../../../utils/coercion"; export declare class ItCheckboxComponent extends ItAbstractFormComponent<boolean | null | undefined> implements OnInit, OnChanges { /** * If show checkbox as toggle * @default false */ toggle?: boolean; /** * If show checkbox inline * @default false */ inline?: boolean; /** * If is checkbox group * @default false */ group?: boolean; /** * If checkbox is checked * @default false */ checked?: boolean; /** * If checkbox is indeterminate * @default false */ indeterminate?: boolean; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; private markAsChecked; static ɵfac: i0.ɵɵFactoryDeclaration<ItCheckboxComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ItCheckboxComponent, "it-checkbox", never, { "toggle": { "alias": "toggle"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; "group": { "alias": "group"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; }, {}, never, ["*", "[error]", "[label]"], true, never>; static ngAcceptInputType_toggle: i1.BooleanInput; static ngAcceptInputType_inline: i1.BooleanInput; static ngAcceptInputType_group: i1.BooleanInput; static ngAcceptInputType_checked: i1.BooleanInput; static ngAcceptInputType_indeterminate: i1.BooleanInput; }