UI for Zipcoin Blue

menu-close.d.ts 853B

1234567891011121314151617181920212223242526272829303132333435363738
  1. import { MenuController } from '../app/menu-controller';
  2. /**
  3. * @name MenuClose
  4. * @description
  5. * The `menuClose` directive can be placed on any button to close an open menu.
  6. *
  7. * @usage
  8. *
  9. * A simple `menuClose` button can be added using the following markup:
  10. *
  11. * ```html
  12. * <button ion-button menuClose>Close Menu</button>
  13. * ```
  14. *
  15. * To close a certain menu by its id or side, give the `menuClose`
  16. * directive a value.
  17. *
  18. * ```html
  19. * <button ion-button menuClose="left">Close Left Menu</button>
  20. * ```
  21. *
  22. * @demo /docs/demos/src/menu/
  23. * @see {@link /docs/components#menus Menu Component Docs}
  24. * @see {@link ../../menu/Menu Menu API Docs}
  25. */
  26. export declare class MenuClose {
  27. private _menu;
  28. /**
  29. * @hidden
  30. */
  31. menuClose: string;
  32. constructor(_menu: MenuController);
  33. /**
  34. * @hidden
  35. */
  36. close(): void;
  37. }