An open API service indexing awesome lists of open source software.

https://github.com/skipperbent/simple-bootstrap-contextmenu

Simple jQuery context-menu for Bootstrap
https://github.com/skipperbent/simple-bootstrap-contextmenu

Last synced: 5 months ago
JSON representation

Simple jQuery context-menu for Bootstrap

Awesome Lists containing this project

README

          

Bootstrap Context Menu
======================

A context menu extension of Bootstrap made for everyone's convenience.

Demo available here: http://rawgit.com/skipperbent/simple-bootstrap-contextmenu/master/index.html

Installation
------------

`bower install simple-bootstrap-contextmenu`

Example
-------

Create context-menu

```html


```

```js
$("#myTable td").contextMenu({
menuSelector: "#contextMenu",
menuSelected: function (invokedOn, selectedMenu) {
var msg = "You selected the menu item '" + selectedMenu.text() +
"' on the value '" + invokedOn.text() + "'";
alert(msg);
}
});
```

### Adding animation

The css attribute `visible` will be added to the context-menu when visible. You can use this class to add CSS animations to the context-menu.

### License
MIT