Created
November 12, 2013 23:19
-
-
Save aadsm/7440622 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="content-type" content="text/html; charset=utf-8"> | |
| <title>Main</title> | |
| <script type="text/montage-serialization"> | |
| { | |
| "owner": { | |
| "prototype": "ui/main.reel", | |
| "properties": { | |
| "element": {"#": "main"} | |
| } | |
| }, | |
| "table": { | |
| "prototype": "ui/table.reel", | |
| "properties": { | |
| "element": {"#": "table"} | |
| } | |
| }, | |
| "text": { | |
| "prototype": "digit/ui/text.reel", | |
| "properties": { | |
| "element": {"#": "text"}, | |
| "value": "Text" | |
| }, | |
| "bindings": { | |
| "value": {"<-": "@table:row.object + ', ' + @table:column.object"} | |
| } | |
| } | |
| } | |
| </script> | |
| </head> | |
| <body> | |
| <div data-montage-id="main"> | |
| <div data-montage-id="table"> | |
| <div data-montage-id="text"></div> | |
| </div> | |
| </div> | |
| </body> | |
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title></title> | |
| <script type="text/montage-serialization"> | |
| { | |
| ":row": { | |
| "alias": "@rows:iteration" | |
| }, | |
| ":column": { | |
| "alias": "@columns:iteration" | |
| }, | |
| "owner": { | |
| "properties": { | |
| "element": {"#": "table"} | |
| } | |
| }, | |
| "rows": { | |
| "prototype": "montage/ui/repetition.reel", | |
| "properties": { | |
| "element": {"#": "rows"}, | |
| "content": [ | |
| 1, | |
| 2, | |
| 3 | |
| ] | |
| } | |
| }, | |
| "columns": { | |
| "prototype": "montage/ui/repetition.reel", | |
| "properties": { | |
| "element": {"#": "columns"}, | |
| "content": [ | |
| 1, | |
| 2, | |
| 3 | |
| ] | |
| } | |
| } | |
| } | |
| </script> | |
| </head> | |
| <body> | |
| <div data-montage-id="table"> | |
| <div data-montage-id="rows"> | |
| <div data-montage-id="columns"> | |
| <div data-param="*"></div> | |
| </div> | |
| </div> | |
| </div> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment