right menu demo
bower install ngcontextmenu --save
- html
<div contextmenu menu-list="lists" click-menu="clickMenu(item)">
<span>111</span>
</div>
- js
$scope.lists = [{
name: '11'
}, {
name: '22'
}]
$scope.clickMenu = function (item) {
console.log(item);
};
You can add options config
$scope.options = {
isMultiple: false,
itemLabel: 'label'
}
git clone git@github.com:angular-box/ngContextMenu.git
cd ngContextMenu
npm install
bower install
# run serve
gulp serve
gulp test
- Add animation
- Add nest menu
- Add disabled menu