a zip code crypto-currency system good for red ONLY

segment-button.d.ts 1.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. import { EventEmitter } from '@angular/core';
  2. /**
  3. * @name SegmentButton
  4. * @description
  5. * The child buttons of the `ion-segment` component. Each `ion-segment-button` must have a value.
  6. *
  7. * @usage
  8. *
  9. * ```html
  10. * <ion-content>
  11. * <!-- Segment buttons with icons -->
  12. * <ion-segment [(ngModel)]="icons" color="secondary">
  13. * <ion-segment-button value="camera">
  14. * <ion-icon name="camera"></ion-icon>
  15. * </ion-segment-button>
  16. * <ion-segment-button value="bookmark">
  17. * <ion-icon name="bookmark"></ion-icon>
  18. * </ion-segment-button>
  19. * </ion-segment>
  20. *
  21. * <!-- Segment buttons with text -->
  22. * <ion-segment [(ngModel)]="relationship" color="primary">
  23. * <ion-segment-button value="friends" (ionSelect)="selectedFriends()">
  24. * Friends
  25. * </ion-segment-button>
  26. * <ion-segment-button value="enemies" (ionSelect)="selectedEnemies()">
  27. * Enemies
  28. * </ion-segment-button>
  29. * </ion-segment>
  30. * </ion-content>
  31. * ```
  32. *
  33. *
  34. * @demo /docs/demos/src/segment/
  35. * @see {@link /docs/components#segment Segment Component Docs}
  36. * @see {@link /docs/api/components/segment/Segment/ Segment API Docs}
  37. */
  38. export declare class SegmentButton {
  39. isActive: boolean;
  40. _disabled: boolean;
  41. /**
  42. * @input {string} the value of the segment button. Required.
  43. */
  44. value: string;
  45. /**
  46. * @output {SegmentButton} Emitted when a segment button has been clicked.
  47. */
  48. ionSelect: EventEmitter<SegmentButton>;
  49. /**
  50. * @input {boolean} If true, the user cannot interact with this element.
  51. */
  52. disabled: boolean;
  53. constructor();
  54. /**
  55. * @hidden
  56. * On click of a SegmentButton
  57. */
  58. onClick(): void;
  59. /**
  60. * @hidden
  61. */
  62. ngOnInit(): void;
  63. }