From ecf5cb7bcc80c1bac247a80d53e2ba6bf90421ee Mon Sep 17 00:00:00 2001 From: Vi Pro Date: Thu, 29 Mar 2018 00:31:11 +0800 Subject: [PATCH] feat(MdMenu): new props mdCloseOnClick (#1630) * feat(MdMenu): new props mdCloseOnClick option for auto close after any click event * docs(Menu): fix AutoClose component name * fix(MdMenu): change mdCloseOnClick default to false --- docs/app/pages/Components/Menu/Menu.vue | 14 ++++++ .../Components/Menu/examples/AutoClose.vue | 41 +++++++++++++++++ src/components/MdMenu/MdMenu.vue | 11 +++++ src/components/MdMenu/MdMenuContent.vue | 3 +- src/components/MdMenu/MdMenuItem.vue | 46 ++++++++++--------- 5 files changed, 93 insertions(+), 22 deletions(-) create mode 100644 docs/app/pages/Components/Menu/examples/AutoClose.vue diff --git a/docs/app/pages/Components/Menu/Menu.vue b/docs/app/pages/Components/Menu/Menu.vue index c2435dec5..2896c4cde 100644 --- a/docs/app/pages/Components/Menu/Menu.vue +++ b/docs/app/pages/Components/Menu/Menu.vue @@ -1,6 +1,7 @@ +