Context menu Component
Install
npm install simple-context-menu
Example
Example Link : Go Code Sandbox
Usage
Title target
; const dataSource = title: 'first' key: 'first' title: 'second' key: 'second' menu: title: 'second-1' key: 'second-1' title: 'second-2' key: 'second-2' title: 'third' key: 'third' menu: title: 'third-1' key: 'third-1' title: 'third-2' key: 'third-2' title: 'third-3' key: 'third-3' ; const contextMenu = ;const callBack = { ;}; const options = delay: 500//delay submenu ; contextMenu;
Options
property | Description |
---|---|
delay | delay submenu |
Update
1.3.0
Add Submenu
1.0.0