import { OnInit, QueryList } from '@angular/core'; import { RcRadioComponent } from './rc-radio.component'; import { RcFormControlAbstract } from '../rc-form-control-abstract/rc-form-control-abstract'; /** * Rc Radios component * * @example * // in your component define the radios items * public radioItems: any[] = [ * { * value: 1, * selected: false, * }, * { * value: 2, * selected: false, * }, * { * value: 3, * selected: false, * }, * ]; * * // in your template call component * * radio 1 * radio 2 * radio 3 * * */ export declare class RcRadiosComponent extends RcFormControlAbstract implements OnInit { /** * Will be insert into the DOM as radios name */ radiosName: string; /** * Array of radio items */ items: any[]; /** * display radios vertical or horizontal */ isVertical: boolean; /** * allow deselect */ allowDeselect: boolean; /** * the child components, will be rendered aside to each radio item by index */ radios: QueryList; isChecked(radio: any): boolean; handleKeyDown($event: any, radioItem: any): void; handleRadioClick(radioItem: any): void; deselectRadios(): void; }