From bfd093628add32d8ddc53aaded527a827eb85ab3 Mon Sep 17 00:00:00 2001 From: TOMA Hadrien Date: Thu, 11 Aug 2016 15:34:44 +0200 Subject: [PATCH] docs(menuController): add param for menuId Closes #7665 --- src/components/menu/menu-controller.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/menu/menu-controller.ts b/src/components/menu/menu-controller.ts index ee7414f0e7..5d597df188 100644 --- a/src/components/menu/menu-controller.ts +++ b/src/components/menu/menu-controller.ts @@ -120,6 +120,7 @@ export class MenuController { /** * Progamatically open the Menu. + * @param {string} [menuId] Optionally get the menu by its id, or side. * @return {Promise} returns a promise when the menu is fully opened */ open(menuId?: string): Promise { @@ -210,6 +211,7 @@ export class MenuController { } /** + * @param {string} [menuId] Optionally get the menu by its id, or side. * @return {boolean} Returns true if the menu is currently open, otherwise false. */ isOpen(menuId?: string): boolean { @@ -218,6 +220,7 @@ export class MenuController { } /** + * @param {string} [menuId] Optionally get the menu by its id, or side. * @return {boolean} Returns true if the menu is currently enabled, otherwise false. */ isEnabled(menuId?: string): boolean {