-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
60 lines (51 loc) · 1.78 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Angular Trianglify Animate</title>
<!-- Normalize CSS & Bootstrap -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
<!-- Angular -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.8/angular.min.js"></script>
<script type="text/javascript" src="trianglify.animate.js"></script>
<!-- Syntax Highlight-->
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script>
<script src="http://pc035860.github.io/angular-highlightjs/angular-highlightjs.min.js"></script>
</head>
<body ng-app="TriApp">
<div class="container">
<div class="row">
<div class="col-md-12">
<div>
<h1>Overview</h1>
Angular Trianglify Animate is tiny (2kb) plugin to add support for animate images SVG to your page.
</div>
<div>
<h1>Usage</h1>
<h2>Setup & Initialise the plugin</h2>
<pre hljs>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.8/angular.min.js"></script>
</pre>
<pre hljs>
<script type="text/javascript" src="trianglify.animate.js"></script>
</pre>
<h2>Usage with Images SVG</h2>
<pre hljs>
<svg id="svg_example" ng-trianglify-animate>[...]</svg>
</pre>
<pre hljs>
<img id="svg_example" src="../image.svg" ng-trianglify-animate />
</pre>
<h2>Examples</h2>
<h2>Browser Support</h2>
</div>
<div>
<h1>License</h1>
</div>
</div>
</div>
</div>
</body>
</html>