diff options
author | Armen Kesablyan | 2012-05-17 13:33:28 -0700 |
---|---|---|
committer | Armen Kesablyan | 2012-05-17 13:33:28 -0700 |
commit | ee3702894b5c69a74f47b22aa5f2c8f58ad0179c (patch) | |
tree | 7b4dba1e5a4212c770c95aef9e45c81ce5626007 /js/panels/objects/object.reel/object.html | |
parent | c8d61c8e72e0eba266575f9df54325fa77fde73d (diff) | |
parent | 7e94d5786df400b599df3233b3086bfe9eff2bde (diff) | |
download | ninja-ee3702894b5c69a74f47b22aa5f2c8f58ad0179c.tar.gz |
Merge pull request #3 from ericguzman/binding
Binding: Objects Panel Initialization
Diffstat (limited to 'js/panels/objects/object.reel/object.html')
-rw-r--r-- | js/panels/objects/object.reel/object.html | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/js/panels/objects/object.reel/object.html b/js/panels/objects/object.reel/object.html new file mode 100644 index 00000000..efc66d79 --- /dev/null +++ b/js/panels/objects/object.reel/object.html | |||
@@ -0,0 +1,47 @@ | |||
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="object.css"> | ||
11 | |||
12 | <script type="text/montage-serialization"> | ||
13 | { | ||
14 | "owner": { | ||
15 | "prototype": "js/panels/objects/object.reel", | ||
16 | "properties": { | ||
17 | "element": {"#": "object"} | ||
18 | } | ||
19 | }, | ||
20 | "labelText": { | ||
21 | "prototype": "montage/ui/dynamic-text.reel", | ||
22 | "properties": { | ||
23 | "element": {"#": "label" } | ||
24 | }, | ||
25 | "bindings": { | ||
26 | "value" : { | ||
27 | "boundObject": {"@": "owner"}, | ||
28 | "boundObjectPropertyPath": "label", | ||
29 | "oneway": true | ||
30 | } | ||
31 | } | ||
32 | } | ||
33 | |||
34 | } | ||
35 | </script> | ||
36 | |||
37 | </head> | ||
38 | <body> | ||
39 | |||
40 | |||
41 | <li data-montage-id="object"> | ||
42 | <div class="object-icon"></div> | ||
43 | <span data-montage-id="label" class="object-label"></span> | ||
44 | </li> | ||
45 | |||
46 | </body> | ||
47 | </html> | ||