UI for Zipcoin Blue

note.js 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. var __extends = (this && this.__extends) || (function () {
  2. var extendStatics = Object.setPrototypeOf ||
  3. ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
  4. function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
  5. return function (d, b) {
  6. extendStatics(d, b);
  7. function __() { this.constructor = d; }
  8. d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  9. };
  10. })();
  11. import { Directive, ElementRef, Renderer } from '@angular/core';
  12. import { Config } from '../../config/config';
  13. import { Ion } from '../ion';
  14. /**
  15. * @name Note
  16. * @module ionic
  17. * @description
  18. * A note is detailed item in an ion-item. It creates greyed out element that can be on the left or right side of an item.
  19. * @usage
  20. *
  21. * ```html
  22. * <ion-content>
  23. * <ion-list>
  24. * <ion-item>
  25. * <ion-note item-start>
  26. * Left Note
  27. * </ion-note>
  28. * My Item
  29. * <ion-note item-end>
  30. * Right Note
  31. * </ion-note>
  32. * </ion-item>
  33. * </ion-list>
  34. * </ion-content>
  35. *```
  36. * {@link /docs/api/components/api/components/item/item ion-item}
  37. */
  38. var Note = (function (_super) {
  39. __extends(Note, _super);
  40. function Note(config, elementRef, renderer) {
  41. return _super.call(this, config, elementRef, renderer, 'note') || this;
  42. }
  43. Note.decorators = [
  44. { type: Directive, args: [{
  45. selector: 'ion-note'
  46. },] },
  47. ];
  48. /** @nocollapse */
  49. Note.ctorParameters = function () { return [
  50. { type: Config, },
  51. { type: ElementRef, },
  52. { type: Renderer, },
  53. ]; };
  54. return Note;
  55. }(Ion));
  56. export { Note };
  57. //# sourceMappingURL=note.js.map