diff options
author | Jonathan Duran | 2012-02-06 20:49:42 -0800 |
---|---|---|
committer | Jonathan Duran | 2012-02-06 20:49:42 -0800 |
commit | d34f745c3b3d88679512ca7d9e4112f109cb31d0 (patch) | |
tree | db630907f144cdceb2d1856e88e4da05fb3eeabc /js/components/treeview/leaf.reel/leaf.html | |
parent | 7e83bb2ac681eb1340dea0f6efaaddfcf0f2b52a (diff) | |
parent | 8950b342d1eda8bfa195372e1c17363a409651cd (diff) | |
download | ninja-d34f745c3b3d88679512ca7d9e4112f109cb31d0.tar.gz |
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into Timeline
Diffstat (limited to 'js/components/treeview/leaf.reel/leaf.html')
-rw-r--r-- | js/components/treeview/leaf.reel/leaf.html | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/js/components/treeview/leaf.reel/leaf.html b/js/components/treeview/leaf.reel/leaf.html new file mode 100644 index 00000000..991a4323 --- /dev/null +++ b/js/components/treeview/leaf.reel/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="leaf.css" rel="stylesheet" type="text/css" /> | ||
6 | <script type="text/montage-serialization"> | ||
7 | { | ||
8 | "owner": { | ||
9 | "module" : "js/components/treeview/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 | <span id="label" class="leaf-label"></span> | ||
36 | </div> | ||
37 | </body> | ||
38 | </html> \ No newline at end of file | ||