UNPKG

design-angular-kit

Version:

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

39 lines (38 loc) 1.65 kB
import { OnInit } 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 ItRadioButtonComponent extends ItAbstractFormComponent<string | number | null | undefined> implements OnInit { /** * The radio value */ value: string | number | undefined | null; /** * If show radio inline * @default false */ inline?: boolean; /** * If is radio group * @default false */ group?: boolean; /** * If is radio is checked * @default false */ checked?: boolean; /** * Set the radio name manually. * For example when the radio button name is duplicated inside page * @default by default the radio name is calculated from form field name */ forceRadioName?: string; get name(): string; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration<ItRadioButtonComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ItRadioButtonComponent, "it-radio-button", never, { "value": { "alias": "value"; "required": true; }; "inline": { "alias": "inline"; "required": false; }; "group": { "alias": "group"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "forceRadioName": { "alias": "forceRadioName"; "required": false; }; }, {}, never, ["[label]", "*", "[error]", "[error]"], true, never>; static ngAcceptInputType_inline: i1.BooleanInput; static ngAcceptInputType_group: i1.BooleanInput; static ngAcceptInputType_checked: i1.BooleanInput; }