UNPKG

875 BTypeScriptView Raw
1import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
2import { RadioGroupChangeEventDetail } from '../../interface';
3export declare class RadioGroup implements ComponentInterface {
4 private inputId;
5 private labelId;
6 private label?;
7 el: HTMLElement;
8 /**
9 * If `true`, the radios can be deselected.
10 */
11 allowEmptySelection: boolean;
12 /**
13 * The name of the control, which is submitted with the form data.
14 */
15 name: string;
16 /**
17 * the value of the radio group.
18 */
19 value?: any | null;
20 valueChanged(value: any | undefined): void;
21 /**
22 * Emitted when the value has changed.
23 */
24 ionChange: EventEmitter<RadioGroupChangeEventDetail>;
25 componentDidLoad(): void;
26 private setRadioTabindex;
27 connectedCallback(): Promise<void>;
28 private getRadios;
29 private onClick;
30 onKeydown(ev: any): void;
31 render(): any;
32}