question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature Request] v-menu expose close event

See original GitHub issue

Problem to solve

Want to call method on v-menu close.

Proposed solution

Expose close event for v-menu.

Example usage

Code pen

Want to save multiple selected months on v-menu close when v-menu is closed by clicking outside of v-menu instead of requiring user to click OK. Tried adding @click:month="$refs.menu.save(date)" to v-date-picker, which makes v-menu close on month selection. Would like to add @close="$refs.menu.save(date)" to v-menu to accomplish this.

If there is an existing workaround, please let me know. Thank you!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:4
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

14reactions
zeroarstcommented, Feb 28, 2020

I started using Vuetify this week and I am trying v-menu component. I found there is a way to monitor the open/close event. just use v-model:

<v-menu offset-y v-model="menuOpened">
      ....
</v-menu>

I found this by looking at Vue’s event’s section in dev tool in chrome. return-value is also an option. 2020-02-28 10_48_42- 2020-02-28 10_48_55-Sniip

13reactions
KaelWDcommented, May 6, 2019

@input

Read more comments on GitHub >

github_iconTop Results From Across the Web

Progress® Telerik® UI for Blazor Feedback Portal
Expose OnHide event. Hello,. Please consider an OnHide event for the ContextMenu. Here is a scenario - the target's styles change when the...
Read more >
Feature request #1133: Add "events" model · wincent.com
Cleaning out the "TODO" file found this: EVENTS MODEL AND CONTROLLER ETC FOR ADMIN TO MONITOR INTERESTING EVENTS ON THE SITE could even...
Read more >
Fortnite Video Game Maker Epic Games to Pay More Than ...
Violated COPPA by Failing to Notify Parents, Obtain Consent: The FTC alleged that Epic was aware that many children were playing Fortnite—as ...
Read more >
FEATURE REQUEST: Tag Window Menu additional options
-Currently when you expand a tag group, it stays open/closed until you close/open it ... -Having this in the menu would also expose...
Read more >
Chapter 4. Enhancements and Feature Requests Red Hat JBoss ...
These are the customer-reported enhancements and feature requests implemented in in this ... BPMSPL-193, [GSS-RFE] Expose the jBPM Executor as a Public API....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found