aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline/Track.reel/Track.html
blob: c4deab9d0784df9c60f4f62627d2443cb783bd5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html lang="en">
	<head>
    	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
    	<link rel="stylesheet" type="text/css" href="css/Track.css">
   		<script type="text/montage-serialization">
            {
                "owner": {
                    "module": "js/panels/Timeline/Track.reel",
                    "name": "Track",
                    "properties": {
                        "element": {"#": "track"},
                        "spanRepetition" : {"@" : "spanRepetition"},
                        "track_lane": {"#": "track_lane"}
                    }
                },

                "trackslot": {
                    "module": "montage/ui/slot.reel",
                    "name": "Slot",
                    "properties": {
                        "element": {"#": "track_lane"}
                    },
                    "bindings" : {
                        "content" : {
                            "boundObject" : {"@": "spanRepetition"},
                            "boundObjectPropertyPath" : "objectAtCurrentIteration",
                            "oneway" : false
                        }
                    }
                },

                "spanRepetition": {
                	"module": "montage/ui/repetition.reel",
                	"name": "Repetition",
                	"properties": {
                	    "element": {"#": "track_lanes"},
                	        "isSelectionEnabled" : true
                	},
                	"bindings": {
                	    "objects": {
                	        "boundObject": {"@": "owner"},
                	        "boundObjectPropertyPath": "spans",
                	        "oneway": false
                	    }
                	}
                }

            }
        </script>
	</head>
	<body>

    	<div id="track">
            <div id="track_lanes">
                <div id="track_lane" class="tracklane"></div>
            </div>
    	</div>

    </body>
</html>