Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue3-rightmenus

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue3-rightmenus

<!-- * @Author: xyc 1053961679@qq.com * @Date: 2022-09-22 16:48:18 * @LastEditors: xyc 1053961679@qq.com * @LastEditTime: 2022-09-22 17:44:00 * @FilePath: \vue3-rightMenus\README.md * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置:

  • 1.0.1
  • unpublished
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

npm i vue3-rightmenus

import rightMenus from "vue3-rightmenus";
Vue.use(rightMenus);
<template>
  <div>
    <div class="box" v-rightMenu:contextmenu="{ id: 123 }">右键点击我</div>
    <v-contextmenu ref="contextmenu" @show="showMenuBox">
      <v-contextmenu-item> 授权 </v-contextmenu-item>
      <v-contextmenu-divider />
      <v-contextmenu-submenu title="排序方式">
        <v-contextmenu-item>名称</v-contextmenu-item>
        <v-contextmenu-item>日期</v-contextmenu-item>
        <v-contextmenu-submenu title="更多">
          <v-contextmenu-item>大小</v-contextmenu-item>
          <v-contextmenu-item>标记</v-contextmenu-item>
          <v-contextmenu-item>类型</v-contextmenu-item>
        </v-contextmenu-submenu>
      </v-contextmenu-submenu>
      <v-contextmenu-item disabled>测试</v-contextmenu-item>
      <v-contextmenu-divider />
      <v-contextmenu-item>打开属性</v-contextmenu-item>
    </v-contextmenu>
  </div>
</template>

FAQs

Package last updated on 22 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc