Files
directus/src/components/v-menu
Rijk van Zanten 66e6af7a3d User popover (#599)
* Change large/x-large sizes

* Force update to popper on content change

* Use smaller size avatar in module bar

* Make the readme up to date

* Add support for trigger / delay props on v-menu

* Add user-popover component, use in comments drawer detail

* Add loading state to user popoer

* Fix trigger target in comments drawer etail item header
2020-05-20 16:38:31 -04:00
..
2020-03-27 10:27:21 -04:00
2020-05-20 16:38:31 -04:00
2020-05-20 16:38:31 -04:00
2020-05-12 20:10:48 -04:00
2020-03-27 10:27:21 -04:00
2020-05-20 16:38:31 -04:00

Menu

Renders a dropdown menu. Can be attached to an activator element or free floating.

NOTE

Due to the fact that a menu is rendered through a portal, dialogs don't work great when rendered from within a menu. If you ever find yourself doing this:

Props

Prop Description Default
placement Where to position the popper. bottom
value Value to control menu active state undefined
close-on-click Close the menu when clicking outside of the menu true
close-on-content-click Close the menu when clicking the content of the menu false
attached Attach the menu to an input false
show-arrow Show an arrow pointer false
disabled Menu does not appear false
trigger Activate the menu on a trigger. One of manual, click, hover null
delay Time in ms before menu activates after trigger 0

Slots

Slot Description Data
default Menu content
activator Activator element. Attaches click and mouse enter/leave handlers on wrapper element