UNPKG

@favian/headwind-ui

Version:

Headless UI for Angular - Styleless Angular components to integrate with Tailwind CSS

31 lines (30 loc) 1.75 kB
import { EventEmitter, QueryList } from '@angular/core'; import { HeadwindControlValueAccessor } from '../../abstracts/headwind-control-value-accessor'; import { HeadwindRadioComponent } from './headwind-radio/headwind-radio.component'; import { HeadwindRadioGroupService } from './service/headwind-radio-group.service'; import { HeadwindQueryListService } from '../../services/headwind-query-list.service'; import * as i0 from "@angular/core"; export declare class HeadwindRadioGroupComponent extends HeadwindControlValueAccessor { private readonly _headwindQueryListService; private readonly _headwindRadioGroupService; valueChange: EventEmitter<any>; radioList?: QueryList<HeadwindRadioComponent>; constructor(_headwindQueryListService: HeadwindQueryListService, _headwindRadioGroupService: HeadwindRadioGroupService); get value(): any; set value(value: any); get disabled(): boolean; set disabled(value: boolean); onHostBlur(): void; onHostArrowUpKeydown(event: Event): void; onHostArrowDownKeydown(event: Event): void; onHostArrowLeftKeydown(event: Event): void; onHostArrowRightKeydown(event: Event): void; updateValue(value: any): void; writeValue(obj: any): void; toPreviousOption(): void; toNextOption(): void; private _findIndexOfSelectedRadio; static ɵfac: i0.ɵɵFactoryDeclaration<HeadwindRadioGroupComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<HeadwindRadioGroupComponent, "headwind-radio-group", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "valueChange": "valueChange"; }, ["radioList"], ["*"], true, never>; static ngAcceptInputType_disabled: unknown; }