UNPKG

@engie-group/fluid-design-system-angular

Version:

Fluid Design System Angular

62 lines (61 loc) 2.16 kB
import { ChangeDetectorRef, EventEmitter } from '@angular/core'; import { RadioSize } from './radio.model'; import * as i0 from "@angular/core"; export declare class RadioComponent { private cdr; private readonly radioClassName; /** * Input id */ inputId?: string; /** * Input name */ name?: string; /** * Whether input is required or not */ required?: boolean; /** * Whether the radio is checked or not */ isChecked: boolean; /** * Input value */ value?: string; /** * Whether the radio is disabled or not */ isDisabled?: boolean; /** * Radio size */ size?: RadioSize; /** * Text alternative for assistive technologies * @see https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label */ ariaLabel?: string; /** * Text alternative for assistive technologies based on visible text * @see https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-labelledby */ ariaLabelledby?: string; /** * Output that emits checked value on change only */ valueChange: EventEmitter<boolean>; constructor(cdr: ChangeDetectorRef); /** * @ignore */ onInputChange(event: Event): void; /** * @ignore */ _markForCheck(): void; protected get classes(): string[]; static ɵfac: i0.ɵɵFactoryDeclaration<RadioComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<RadioComponent, "nj-radio", never, { "inputId": { "alias": "inputId"; "required": false; }; "name": { "alias": "name"; "required": false; }; "required": { "alias": "required"; "required": false; }; "isChecked": { "alias": "isChecked"; "required": false; }; "value": { "alias": "value"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; }; }, { "valueChange": "valueChange"; }, never, ["*"], true, never>; }