-
Notifications
You must be signed in to change notification settings - Fork 1
/
example.html
28 lines (27 loc) · 1.01 KB
/
example.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
<!DOCTYPE html>
<html ng-app="AbnTest">
<head>
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0-rc1/css/bootstrap.min.css" rel="stylesheet">
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
<link rel="stylesheet" href="build/build.css">
</head>
<body ng-controller="AbnTestController">
<div class="container">
<div class="row">
<div class="col-sm-4 well">
<abn-tree tree-data="example_treedata" icon-leaf="icon-file" on-select="my_default_handler(branch)" expand-level="2" initial-selection="Vegetable"></abn-tree>
</div>
<div class="col-sm-8">
<div class="alert">{{ output }}</div>
<!--pre {{ example_treedata | json }}-->
</div>
</div>
</div>
<script src="build/build.js"></script>
<script>
require("angular")
require("bootstrap-tree-for-angular")
</script>
<script src="test/test_abn_tree.js"></script>
</body>
</html>