From 984d65c818969ea3bef57ade9cbf5fc50d9a2316 Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Mon, 6 Feb 2012 11:43:01 -0800 Subject: Tree Components - Adding the tree components --- js/components/treeview/treeview.reel/treeview.html | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 js/components/treeview/treeview.reel/treeview.html (limited to 'js/components/treeview/treeview.reel/treeview.html') 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 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta http-equiv="content-type" content="text/html; charset=utf-8" /> + <link rel="stylesheet" href="treeview.css" type="text/css"> + <script type="text/montage-serialization"> + { + "owner" : { + "module" : "js/components/treeview/treeview.reel", + "name" : "Treeview", + "properties" : { + "element" : { "#" : "treeView"}, + "defaultBranchComponent" : { "@" : "defaultBranch"}, + "defaultLeafComponent" : { "@" : "defaultLeaf"}, + "scrollview" : { "@" : "scrollview"}, + "slot": {"@": "slot"} + } + }, + "defaultBranch" : { + "module" : "js/components/treeview/branch.reel", + "name" : "Branch" + }, + "defaultLeaf" : { + "module" : "js/components/treeview/presets-leaf.reel", + "name" : "Leaf" + }, + "scrollview": { + "module": "montage/ui/scrollview.reel", + "name": "Scrollview", + "properties": { + "element": {"#": "treeView"}, + "axis": "vertical" + } + }, + "slot": { + "module": "montage/ui/slot.reel", + "name": "Slot", + "properties": { + "element": {"#": "rootBranch"} + } + } + } + </script> +</head> +<body> + <div id="treeView" class="treeView"> + <div id="rootBranch" class="treeRoot"></div> + </div> +</body> +</html> \ No newline at end of file -- cgit v1.2.3