diff options
Diffstat (limited to 'js/components/toolbar.reel/toolbar.html')
-rw-r--r-- | js/components/toolbar.reel/toolbar.html | 43 |
1 files changed, 41 insertions, 2 deletions
diff --git a/js/components/toolbar.reel/toolbar.html b/js/components/toolbar.reel/toolbar.html index 69eba194..53c6627a 100644 --- a/js/components/toolbar.reel/toolbar.html +++ b/js/components/toolbar.reel/toolbar.html | |||
@@ -14,14 +14,50 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot | |||
14 | "module" : "js/panels/css-panel/style-sheet.reel", | 14 | "module" : "js/panels/css-panel/style-sheet.reel", |
15 | "name" : "StyleSheet", | 15 | "name" : "StyleSheet", |
16 | "properties" : { | 16 | "properties" : { |
17 | "element" : {"#" : "toolbar-container"} | 17 | "element" : {"#" : "toolbar-container"}, |
18 | "repetition": {"@": "buttonList" } | ||
18 | } | 19 | } |
19 | }, | 20 | }, |
21 | |||
22 | "buttonList": { | ||
23 | "module": "montage/ui/repetition.reel", | ||
24 | "name": "Repetition", | ||
25 | "properties": { | ||
26 | "element": {"#": "repetition"} | ||
27 | }, | ||
28 | "bindings": { | ||
29 | "objects" : { | ||
30 | "boundObject": {"@": "owner"}, | ||
31 | "boundObjectPropertyPath": "buttons", | ||
32 | "oneway": true | ||
33 | } | ||
34 | |||
35 | } | ||
36 | }, | ||
37 | |||
20 | "button": { | 38 | "button": { |
21 | "module": "montage/ui/button.reel", | 39 | "module": "montage/ui/button.reel", |
22 | "name": "Button", | 40 | "name": "Button", |
23 | "properties": { | 41 | "properties": { |
24 | 42 | "element": {"#": "button" }, | |
43 | "label": " " | ||
44 | }, | ||
45 | "bindings": { | ||
46 | "label" : { | ||
47 | "boundObject": {"@": "buttonList"}, | ||
48 | "boundObjectPropertyPath": "objectAtCurrentIteration.title", | ||
49 | "oneway": true | ||
50 | }, | ||
51 | "identifier": { | ||
52 | "boundObject": {"@": "buttonList"}, | ||
53 | "boundObjectPropertyPath": "objectAtCurrentIteration.identifier", | ||
54 | "oneway": true | ||
55 | }, | ||
56 | "sourceObject": { | ||
57 | "boundObject": {"@": "buttonList"}, | ||
58 | "boundObjectPropertyPath": "objectAtCurrentIteration", | ||
59 | "oneway": true | ||
60 | } | ||
25 | } | 61 | } |
26 | } | 62 | } |
27 | } | 63 | } |
@@ -29,6 +65,9 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot | |||
29 | </head> | 65 | </head> |
30 | <body> | 66 | <body> |
31 | <div id="toolbar-container" class="toolbar-container"> | 67 | <div id="toolbar-container" class="toolbar-container"> |
68 | <ul data-montage-id="repetition"> | ||
69 | <li><button data-montage-id="button" class="toolbar-button"></button></li> | ||
70 | </ul> | ||
32 | </div> | 71 | </div> |
33 | </body> | 72 | </body> |
34 | </html> \ No newline at end of file | 73 | </html> \ No newline at end of file |