aboutsummaryrefslogtreecommitdiff
path: root/js/components/ui/tree-basic/tree.reel/tree.html
diff options
context:
space:
mode:
Diffstat (limited to 'js/components/ui/tree-basic/tree.reel/tree.html')
-rw-r--r--js/components/ui/tree-basic/tree.reel/tree.html67
1 files changed, 67 insertions, 0 deletions
diff --git a/js/components/ui/tree-basic/tree.reel/tree.html b/js/components/ui/tree-basic/tree.reel/tree.html
new file mode 100644
index 00000000..ba594926
--- /dev/null
+++ b/js/components/ui/tree-basic/tree.reel/tree.html
@@ -0,0 +1,67 @@
1<!DOCTYPE HTML>
2<!-- <copyright>
3 This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
4 No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
5 (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
6 </copyright> -->
7<html>
8<head>
9 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
10 <link rel="stylesheet" type="text/css" href="tree.css">
11 <script type="text/montage-serialization">
12 {
13 "treeItem": {
14 "module" : "js/components/ui/tree-basic/treeItem.reel",
15 "name": "TreeItem",
16 "properties": {
17 "element": {"#": "treeItem"}
18 },
19 "bindings": {
20 "treeItemData": {
21 "boundObject": {"@": "repetition1"},
22 "boundObjectPropertyPath": "objectAtCurrentIteration",
23 "oneway": true
24 },
25 "showIcon": {
26 "boundObject": {"@": "owner"},
27 "boundObjectPropertyPath": "showIcons",
28 "oneway": true
29 }
30 }
31 },
32
33 "repetition1" : {
34 "module": "montage/ui/repetition.reel",
35 "name": "Repetition",
36 "properties": {
37 "element": {"#": "treeView"}
38 },
39 "bindings": {
40 "objects": {
41 "boundObject": {"@": "owner"},
42 "boundObjectPropertyPath": "treeViewDataObject",
43 "oneway": true
44 }
45 }
46 },
47
48 "owner":{
49 "module": "js/components/ui/tree-basic/tree.reel",
50 "name": "Tree",
51 "properties" : {
52 "element": {"#": "atree"},
53 "components": [{"@": "repetition1"}]
54 }
55 }
56
57 }
58 </script>
59</head>
60<body>
61<div id="atree" class="atree">
62 <ul id="treeView" style="display:block;">
63 <li id="treeItem"></li>
64 </ul>
65</div>
66</body>
67</html> \ No newline at end of file