vue3-context-menu icon indicating copy to clipboard operation
vue3-context-menu copied to clipboard

A very simple context menu component for Vue3 一个简洁美观简单的Vue3右键菜单组件

Results 20 vue3-context-menu issues
Sort by recently updated
recently updated
newest added

We have a context menu for the whole page, but we also need a separate menu if the user right-clicks on specific elements on the screen. It doesn't seem like...

您好。因为我子组件和父组件都有右键菜单的需求,所以我阻止了子组件的事件冒泡,但是新带来的问题则是子组件会重复产生新的菜单,如下图,请问这种问题应该要如何处理呢? ![20220116_154232](https://user-images.githubusercontent.com/38169959/149651641-63eff44c-b557-4871-8375-5b25787508a4.jpg) 父组件: ``` import Son from "./Son.vue" export default { name: "Test", components: { Son }, methods: { contextmenuHandler(e) { console.log("父组件右键...."); this.$contextmenu({ x: e.x, y: e.y, items: [ {...

Edge插件开发,不能使用脚手架等打包工具,只能使用本地静态资源。

Implemented `customClass` of MenuItem interface. https://github.com/imengyu/vue3-context-menu/blob/9c4e46232c13107e665425da1dca3d6498ae6892/src/ContextMenuDefine.ts#L24

根据示例使用没有效果。

import ContextMenu from '@imengyu/vue3-context-menu' App • ERROR • UI in ./node_modules/@imengyu/vue3-context-menu/index.js Module not found: Can't resolve imported dependency "./src/ContextMenuInstance" ![image](https://user-images.githubusercontent.com/5847958/124384832-a6ec2180-dd05-11eb-9dd1-cc48d07c6663.png) ![image](https://user-images.githubusercontent.com/5847958/124385628-216a7080-dd09-11eb-8150-46b794d11449.png)

How can I generate the menu's div inside the App's div? **Details** ![image](https://github.com/imengyu/vue3-context-menu/assets/1814282/0e0d6fd0-e3ba-4620-9d58-90f590ebc941) Right now the menu's div is created outside the App's div and I can not reach to...

I am trying to update theme dynamically from script by updating the optionsComponent.theme but it is not updating on the template, how can this be done?

Help me to use in Nuxt 3 please.

当`v-model:show`更改时,DOM元素`mx-context-menu`直接被删除或添加了,此时动态改样式类css的动画是不生效的,可以做类似的处理或者预留一个类似`customAnimationClass`的参数吗。 ```css .mx-context-menu { transform: scale(0); transform-origin: left top; transition: transform 0.3s ease, visibility 0.3s ease; } .mx-context-menu.visible { transform: scale(1); } ``` 另外,有看到库里有一个渐显渐隐的动画,实际也是不生效的 https://github.com/imengyu/vue3-context-menu/blob/4b71d0e43b37faf5920a594859e567065c14e1a0/library/ContextMenu.scss#L44-L56