UNPKG

ag-grid-community

Version:

Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue

18 lines (17 loc) 840 B
import type { AgCheckboxParams } from '../interfaces/agFieldParams'; import { AgCheckbox } from './agCheckbox'; export interface AgRadioButtonParams extends AgCheckboxParams { } export declare class AgRadioButton extends AgCheckbox<AgRadioButtonParams> { constructor(config?: AgRadioButtonParams); protected isSelected(): boolean; toggle(): void; protected addInputListeners(): void; /** * This ensures that if another radio button in the same named group is selected, we deselect this radio button. * By default the browser does this for you, but we are managing classes ourselves in order to ensure input * elements are styled correctly in IE11, and the DOM 'changed' event is only fired when a button is selected, * not deselected, so we need to use our own event. */ private onChange; }