a zip code crypto-currency system good for red ONLY

spinner.d.ts 3.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. import { ElementRef, Renderer } from '@angular/core';
  2. import { Config } from '../../config/config';
  3. import { Ion } from '../ion';
  4. /**
  5. * @name Spinner
  6. * @description
  7. * The `ion-spinner` component provides a variety of animated SVG spinners.
  8. * Spinners enables you to give users feedback that the app is actively
  9. * processing/thinking/waiting/chillin’ out, or whatever you’d like it to indicate.
  10. * By default, the `ion-refresher` feature uses this spinner component while it's
  11. * the refresher is in the `refreshing` state.
  12. *
  13. * Ionic offers a handful of spinners out of the box, and by default, it will use
  14. * the appropriate spinner for the platform on which it’s running.
  15. *
  16. * <table class="table spinner-table">
  17. * <tr>
  18. * <th>
  19. * <code>ios</code>
  20. * </th>
  21. * <td>
  22. * <ion-spinner name="ios"></ion-spinner>
  23. * </td>
  24. * </tr>
  25. * <tr>
  26. * <th>
  27. * <code>ios-small</code>
  28. * </th>
  29. * <td>
  30. * <ion-spinner name="ios-small"></ion-spinner>
  31. * </td>
  32. * </tr>
  33. * <tr>
  34. * <th>
  35. * <code>bubbles</code>
  36. * </th>
  37. * <td>
  38. * <ion-spinner name="bubbles"></ion-spinner>
  39. * </td>
  40. * </tr>
  41. * <tr>
  42. * <th>
  43. * <code>circles</code>
  44. * </th>
  45. * <td>
  46. * <ion-spinner name="circles"></ion-spinner>
  47. * </td>
  48. * </tr>
  49. * <tr>
  50. * <th>
  51. * <code>crescent</code>
  52. * </th>
  53. * <td>
  54. * <ion-spinner name="crescent"></ion-spinner>
  55. * </td>
  56. * </tr>
  57. * <tr>
  58. * <th>
  59. * <code>dots</code>
  60. * </th>
  61. * <td>
  62. * <ion-spinner name="dots"></ion-spinner>
  63. * </td>
  64. * </tr>
  65. * </table>
  66. *
  67. * @usage
  68. * The following code would use the default spinner for the platform it's
  69. * running from. If it's neither iOS or Android, it'll default to use `ios`.
  70. *
  71. * ```html
  72. * <ion-spinner></ion-spinner>
  73. * ```
  74. *
  75. * By setting the `name` property, you can specify which predefined spinner to
  76. * use, no matter what the platform is.
  77. *
  78. * ```html
  79. * <ion-spinner name="bubbles"></ion-spinner>
  80. * ```
  81. *
  82. * ## Styling SVG with CSS
  83. * One cool thing about SVG is its ability to be styled with CSS! One thing to note
  84. * is that some of the CSS properties on an SVG element have different names. For
  85. * example, SVG uses the term `stroke` instead of `border`, and `fill` instead
  86. * of `background-color`.
  87. *
  88. * ```css
  89. * ion-spinner * {
  90. * width: 28px;
  91. * height: 28px;
  92. * stroke: #444;
  93. * fill: #222;
  94. * }
  95. * ```
  96. */
  97. export declare class Spinner extends Ion {
  98. _c: any[];
  99. _l: any[];
  100. _name: string;
  101. _dur: number;
  102. _init: boolean;
  103. _paused: boolean;
  104. /**
  105. * @input {string} SVG spinner name.
  106. */
  107. name: string;
  108. /**
  109. * @input {string} How long it takes it to do one loop.
  110. */
  111. duration: number;
  112. /**
  113. * @input {boolean} If true, pause the animation.
  114. */
  115. paused: boolean;
  116. constructor(config: Config, elementRef: ElementRef, renderer: Renderer);
  117. /**
  118. * @hidden
  119. */
  120. ngOnInit(): void;
  121. /**
  122. * @hidden
  123. */
  124. load(): void;
  125. _loadEle(spinner: any, index: number, total: number): any;
  126. }