vmaimone/vue-context-menu

Close Method?

kaungmyatlwin opened this issue · 1 comments

So we can "click" on document window to close the context menu. But I'm wondering how do I close the context menu on custom click event?

So far we can open context menu by using $refs.element.open, but there's no$refs.element.close event to close on demand.

I would like to propose said feature.

here's another ContextMenu component: https://github.com/XBT1/v-contextmenu, maybe it will work well