diff options
author | Eric Guzman | 2012-05-16 22:19:34 -0700 |
---|---|---|
committer | Eric Guzman | 2012-05-16 22:19:34 -0700 |
commit | a40184e08a7ee2f189f133fd7bd83480e4bfc7f2 (patch) | |
tree | 1860f29af10fe27ead2eb6b8e2ec5a811abbfc5d /js/panels/objects/object.reel/object.html | |
parent | ab7f00cdf7941bd788fcf44e70e4d2a6ad8b2012 (diff) | |
download | ninja-a40184e08a7ee2f189f133fd7bd83480e4bfc7f2.tar.gz |
Objects Panel - Add object component
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> | ||