UNPKG

vue-contextmenu

Version:

vue contextmenu

22 lines (12 loc) 593 B
## attribute ### transferIndex >use in list rendering, if your component has one menu,you may not need it. ### contextMenuData #### contextMenuData.menuName >the menu name #### contextMenuData.axis >Positional coordinates displayed on menus,the x is clientX and y is clientY #### contextMenuData.menulists >menu options. the "btnName" is the menu name and "icoName" is the icon name,can config or not.and "children" to set its submenu."fnHandler" is the menu handler. ### Be careful Supporting Infinite Submenus,but there's no that the style will fit perfectly.