-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Matthew Mamonov edited this page Jan 9, 2019
·
7 revisions
One Demo worth a thousand words!
What makes the Vue Custom Context Menu special π:
- No more ugly
@contextmenu.prevent="$refs['context-menu'].open"
s in your code π - Allows for full π customisation:
- Style πββοΈ everything from the overlay to arrows pointing out that an item opens a nested Context Menu the way you want it to look
- Configure β everything from the penetrative properties of the overlay to what to do with Context Menus that don't fit well in the vewport
- Wait a minute. "Nested Context Menus" π? You've read it all right! One Context Menu may has as many π nested Context Menus as you desire it to! As well as a nested Context Menu may itself has unlimited number of nested Context Menus!
- A Context Menu turned out to be as overpopulated with items that it probably wouldn't fit the height of the screen π¬? Not a problem! Everything's already set up for you with reasonable defaults
- Don't want a Context Menu for a specific element at all π ? The plugin allows you to easily disable it!
- Want to give your users the ability to see a browser's native context menu instead of a custom one in some cases? You're good to go π. Just tell them to hold the
alt
key. Don't want π€? Just configure it so!
And even a few more:
- π± Works well either on desktops and on mobile devices
- Don't like how the components/directives and the other related things included by the plugin are named by default? Change them π!
- Everything's made with your (and your users') convenience in mind: no more manual events registration, no more struggling with edge-cases - you can just use it π
Sounds as a charm for you? Then dig further!