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

self-right-menus

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

self-right-menus - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

2

package.json

@@ -5,3 +5,3 @@ {

"private": false,
"version": "1.1.3",
"version": "1.1.4",
"description": "这是一个基于Vue的自定义右键菜单项目",

@@ -8,0 +8,0 @@ "main": "./dist/right-menu.js",

@@ -54,28 +54,20 @@ # right-menu

data(){
return {
rightMenus:{
width:190,//右键菜单宽度 ;默认值166
content:[
{
label:string,//右键菜单子项名称 (必需值)
handler:function,//右键菜单子项方法(可选值)
label:'复制',//右键菜单子项名称 (必需值)
handler:this.copy,//右键菜单子项方法(可选值)
disabled:boolean,//子项是否禁用(可选值)
break:boolean,//子项分割线标准(不给值默认3个为一组分割)
}
]
}
}
},
methods:{
copy(){
}
}

@@ -82,0 +74,0 @@

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