agRadioButton.d.ts 703 B

123456789101112131415
  1. import { AgCheckbox } from './agCheckbox';
  2. export declare class AgRadioButton extends AgCheckbox {
  3. protected className: string;
  4. protected inputType: string;
  5. protected isSelected(): boolean;
  6. toggle(): void;
  7. protected addInputListeners(): void;
  8. /**
  9. * This ensures that if another radio button in the same named group is selected, we deselect this radio button.
  10. * By default the browser does this for you, but we are managing classes ourselves in order to ensure input
  11. * elements are styled correctly in IE11, and the DOM 'changed' event is only fired when a button is selected,
  12. * not deselected, so we need to use our own event.
  13. */
  14. private onChange;
  15. }