123456789101112131415161718192021222324252627282930313233343536
  1. import { ElementRef, EventEmitter } from '@angular/core';
  2. /**
  3. * @name Option
  4. * @description
  5. * `ion-option` is a child component of `ion-select`. Similar to the native option element, `ion-option` can take a value and a selected property.
  6. *
  7. * @demo /docs/demos/src/select/
  8. */
  9. export declare class Option {
  10. private _elementRef;
  11. _selected: boolean;
  12. _disabled: boolean;
  13. _value: any;
  14. /**
  15. * @input {boolean} If true, the user cannot interact with this element.
  16. */
  17. disabled: boolean;
  18. /**
  19. * @input {boolean} If true, the element is selected.
  20. */
  21. selected: boolean;
  22. /**
  23. * @input {any} The value of the option.
  24. */
  25. value: any;
  26. /**
  27. * @output {any} Event to evaluate when option is selected.
  28. */
  29. ionSelect: EventEmitter<any>;
  30. constructor(_elementRef: ElementRef);
  31. /**
  32. * @hidden
  33. */
  34. readonly text: any;
  35. }