bp-ngContextMenu

Angular Context Menu - for Mouse Click & Right button Click events.
Homepage:
0 people use it
Author: 7399519?v=2 bapatel1

bp-ngContextMenu

Angular Context Menu - for Mouse Click & Right button Click events.

  • Description: Sometime we want context menu to open on Right Click of Mouse & sometime we simply need some context menu when you click on any DOM element. "bp-ngContextMenu" is your answer for that.

Usage

Script <script src="~/src/bp-ngContextMenu.js"></script> Angular AppScript ``` var app = angular.module('myApp', ['bp-ngContextMenu']);

Header One Header Two

Item three Item four Item five Item six
```

HTML - Context menu Html <ul id="context1" class="dropdown-menu"> <li><a ng-click="edit()">Edit</a></li> <li><a ng-click="link()">Link</a></li> <li><a ng-click="delete()">Delete</a></li> <li class="divider"></li> <li><a ng-click="properties()">Properties</a></li> </ul> <ul id="context2" class="dropdown-menu"> <li><a ng-click="edit()">Edit</a></li> <li class="divider"></li> <li><a ng-click="properties()">Properties</a></li> </ul>

Default

By default we have context menu available for right click on mouse. but we can change it to left click easily and settings will be coming soon.

Demo

http://plnkr.co/edit/LMr7AN

Further angularjs help, articles & other programming stuff at my blog

~~~ Bhavin Patel

comments powered by Disqus
This page was last updated almost 3 years ago.