diff options
author | Pushkar Joshi | 2012-02-07 07:21:27 -0800 |
---|---|---|
committer | Pushkar Joshi | 2012-02-07 07:21:27 -0800 |
commit | 4bbe42e6d01fd0f81d13357a75b40eae9925dda3 (patch) | |
tree | 57f49ebfa5d3fcef28753b34015209edda6e620a /js/components/treeview/ninja-leaf.reel/ninja-leaf.html | |
parent | e7aa17a9b472640355e95c54841399f6203050d4 (diff) | |
parent | 8950b342d1eda8bfa195372e1c17363a409651cd (diff) | |
download | ninja-4bbe42e6d01fd0f81d13357a75b40eae9925dda3.tar.gz |
Merge branch 'master' into pentool
Diffstat (limited to 'js/components/treeview/ninja-leaf.reel/ninja-leaf.html')
-rw-r--r-- | js/components/treeview/ninja-leaf.reel/ninja-leaf.html | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/js/components/treeview/ninja-leaf.reel/ninja-leaf.html b/js/components/treeview/ninja-leaf.reel/ninja-leaf.html new file mode 100644 index 00000000..0a8fdac0 --- /dev/null +++ b/js/components/treeview/ninja-leaf.reel/ninja-leaf.html | |||
@@ -0,0 +1,38 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html lang="en"> | ||
3 | <head> | ||
4 | <meta http-equiv="content-type" content="text/html; charset=utf-8" /> | ||
5 | <link href="ninja-leaf.css" rel="stylesheet" type="text/css" /> | ||
6 | <script type="text/montage-serialization"> | ||
7 | { | ||
8 | "owner": { | ||
9 | "module" : "js/components/treeview/ninja-leaf.reel", | ||
10 | "name" : "Leaf", | ||
11 | "properties" : { | ||
12 | "element" : {"#" : "leaf"}, | ||
13 | "label" : { "@" : "textComponent" } | ||
14 | } | ||
15 | }, | ||
16 | "textComponent" : { | ||
17 | "module" : "montage/ui/dynamic-text.reel", | ||
18 | "name" : "DynamicText", | ||
19 | "properties" : { | ||
20 | "element" : { "#" : "label" } | ||
21 | }, | ||
22 | "bindings" : { | ||
23 | "value" : { | ||
24 | "boundObject" : {"@": "owner"}, | ||
25 | "boundObjectPropertyPath": "_labelText", | ||
26 | "oneway": true | ||
27 | } | ||
28 | } | ||
29 | } | ||
30 | } | ||
31 | </script> | ||
32 | </head> | ||
33 | <body> | ||
34 | <div id="leaf" class="leaf"> | ||
35 | <div id="label" class="leaf-label"></div> | ||
36 | </div> | ||
37 | </body> | ||
38 | </html> \ No newline at end of file | ||