-
Notifications
You must be signed in to change notification settings - Fork 75
/
index.html
75 lines (72 loc) · 2.38 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ng-context-menu</title>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" />
<script src="//cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js" data-main="assets/js/app.js"></script>
<style>
.pointer {
cursor: pointer;
}
.highlight {
color: #fff;
background-color: #3498db;
}
.expanded {
height: 400px;
}
</style>
</head>
<body>
<a href="https://github.com/ianwalter/ng-context-menu">
<img style="position: absolute; top: 0; right: 0; border: 0;"
src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub">
</a>
<br>
<div class="container">
<div class="row">
<div class="col-xs-12">
<header>
<h1>ng-context-menu</h1>
<h4>
An AngularJS directive to display a context menu when a right-click event is triggered
</h4>
</header>
<br>
<div ng-view ng-cloak></div>
</div>
</div>
<br>
<p>
I hope you find this useful!<br>
«–– <a href="http://ianvonwalter.com">Ian</a>
</p>
<br>
</div>
<div class="dropdown" id="myMenu">
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
<li role="presentation">
<a class="pointer" role="menuitem" tabindex="-1" ng-click="highlight = true">Select</a>
</li>
<li role="presentation">
<a class="pointer" role="menuitem" tabindex="-1" ng-click="highlight = false">Deselect</a>
</li>
<li role="presentation">
<a class="pointer" role="menuitem" tabindex="-1" ng-click="expanded = true">Expand</a>
</li>
<li role="presentation">
<a class="pointer" role="menuitem" tabindex="-1" ng-click="expanded = false">Contract</a>
</li>
<li role="presentation">
<a href="https://github.com/ianwalter/ng-context-menu" role="menuitem" tabindex="-1">ng-context-menu on GitHub</a>
</li>
</ul>
</div>
</body>
</html>