diff options
author | Valerio Virgillito | 2012-02-06 14:09:29 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-06 14:09:29 -0800 |
commit | 07e5839e0ec6da2eb71056ff18b90226af213eef (patch) | |
tree | bfc93091f03f2c2383ccfe3ec73dd85bf0a0ccf3 /js/components/treeview/treeview.reel/treeview.html | |
parent | 671a27069db6a121507c2b342653aede685cff67 (diff) | |
parent | c83b0d9bf3f37ae8569e8afc51dbcba9ed003929 (diff) | |
download | ninja-07e5839e0ec6da2eb71056ff18b90226af213eef.tar.gz |
Merge pull request #16 from ericguzman/TreeComponents
Tree components
Diffstat (limited to 'js/components/treeview/treeview.reel/treeview.html')
-rw-r--r-- | js/components/treeview/treeview.reel/treeview.html | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/js/components/treeview/treeview.reel/treeview.html b/js/components/treeview/treeview.reel/treeview.html new file mode 100644 index 00000000..3d5d75c4 --- /dev/null +++ b/js/components/treeview/treeview.reel/treeview.html | |||
@@ -0,0 +1,50 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html lang="en"> | ||
3 | <head> | ||
4 | <meta http-equiv="content-type" content="text/html; charset=utf-8" /> | ||
5 | <link rel="stylesheet" href="treeview.css" type="text/css"> | ||
6 | <script type="text/montage-serialization"> | ||
7 | { | ||
8 | "owner" : { | ||
9 | "module" : "js/components/treeview/treeview.reel", | ||
10 | "name" : "Treeview", | ||
11 | "properties" : { | ||
12 | "element" : { "#" : "treeView"}, | ||
13 | "defaultBranchComponent" : { "@" : "defaultBranch"}, | ||
14 | "defaultLeafComponent" : { "@" : "defaultLeaf"}, | ||
15 | "scrollview" : { "@" : "scrollview"}, | ||
16 | "slot": {"@": "slot"} | ||
17 | } | ||
18 | }, | ||
19 | "defaultBranch" : { | ||
20 | "module" : "js/components/treeview/branch.reel", | ||
21 | "name" : "Branch" | ||
22 | }, | ||
23 | "defaultLeaf" : { | ||
24 | "module" : "js/components/treeview/presets-leaf.reel", | ||
25 | "name" : "Leaf" | ||
26 | }, | ||
27 | "scrollview": { | ||
28 | "module": "montage/ui/scrollview.reel", | ||
29 | "name": "Scrollview", | ||
30 | "properties": { | ||
31 | "element": {"#": "treeView"}, | ||
32 | "axis": "vertical" | ||
33 | } | ||
34 | }, | ||
35 | "slot": { | ||
36 | "module": "montage/ui/slot.reel", | ||
37 | "name": "Slot", | ||
38 | "properties": { | ||
39 | "element": {"#": "rootBranch"} | ||
40 | } | ||
41 | } | ||
42 | } | ||
43 | </script> | ||
44 | </head> | ||
45 | <body> | ||
46 | <div id="treeView" class="treeView"> | ||
47 | <div id="rootBranch" class="treeRoot"></div> | ||
48 | </div> | ||
49 | </body> | ||
50 | </html> \ No newline at end of file | ||