a zip code crypto-currency system good for red ONLY

menu-interface.d.ts 1.2KB

123456789101112131415161718192021222324252627282930313233343536
  1. import { EventEmitter } from '@angular/core';
  2. import { Animation } from '../../animations/animation';
  3. import { Side } from '../../util/util';
  4. export interface Menu {
  5. setOpen(shouldOpen: boolean, animated: boolean): Promise<boolean>;
  6. open(): Promise<boolean>;
  7. close(): Promise<boolean>;
  8. toggle(): Promise<boolean>;
  9. enable(shouldEnable: boolean, menuId?: string): Menu;
  10. swipeEnable(shouldEnable: boolean): Menu;
  11. isOpen: boolean;
  12. enabled: boolean;
  13. side: Side;
  14. id: string;
  15. isRightSide: boolean;
  16. ionDrag: EventEmitter<number>;
  17. ionOpen: EventEmitter<boolean>;
  18. ionClose: EventEmitter<boolean>;
  19. isAnimating(): boolean;
  20. width(): number;
  21. getContentElement(): HTMLElement;
  22. getMenuElement(): HTMLElement;
  23. getBackdropElement(): HTMLElement;
  24. _canOpen(): boolean;
  25. persistent: boolean;
  26. }
  27. export interface MenuType {
  28. ani: Animation;
  29. isOpening: boolean;
  30. setOpen(shouldOpen: boolean, animated: boolean, done: Function): void;
  31. setProgressStart(isOpen: boolean): void;
  32. setProgessStep(stepValue: number): void;
  33. setProgressEnd(shouldComplete: boolean, currentStepValue: number, velocity: number, done: Function): void;
  34. destroy(): void;
  35. }