radiobutton.d.ts 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. import { ElementRef, EventEmitter, ChangeDetectorRef } from '@angular/core';
  2. import { ControlValueAccessor } from '@angular/forms';
  3. export declare const RADIO_VALUE_ACCESSOR: any;
  4. export declare class RadioButton implements ControlValueAccessor {
  5. private cd;
  6. value: any;
  7. name: string;
  8. disabled: boolean;
  9. label: string;
  10. tabindex: number;
  11. inputId: string;
  12. style: any;
  13. styleClass: string;
  14. labelStyleClass: string;
  15. onClick: EventEmitter<any>;
  16. onFocus: EventEmitter<any>;
  17. onBlur: EventEmitter<any>;
  18. inputViewChild: ElementRef;
  19. onModelChange: Function;
  20. onModelTouched: Function;
  21. checked: boolean;
  22. focused: boolean;
  23. constructor(cd: ChangeDetectorRef);
  24. handleClick(event: any, radioButton: any, focus: any): void;
  25. select(event: any): void;
  26. writeValue(value: any): void;
  27. registerOnChange(fn: Function): void;
  28. registerOnTouched(fn: Function): void;
  29. setDisabledState(val: boolean): void;
  30. onInputFocus(event: any): void;
  31. onInputBlur(event: any): void;
  32. onChange(event: any): void;
  33. }
  34. export declare class RadioButtonModule {
  35. }