-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
40 lines (34 loc) · 1.27 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="http://dev.sencha.com/deploy/touch/resources/css/sencha-touch.css" />
<link rel="stylesheet" type="text/css" href="style.css" />
<script type="text/javascript" charset="utf-8" src="http://dev.sencha.com/deploy/touch/sencha-touch.js"></script>
<script type="text/javascript" charset="utf-8" src="Ext.ux.CarouselListRow.js"></script>
<script type="text/javascript" charset="utf-8" src="Ext.ux.CarouselList.js"></script>
<script type="text/javascript" charset="utf-8" src="data.js"></script>
</head>
<body>
<script>
Ext.setup({
onReady: function() {
var store = new Ext.data.Store({
data: __DATA__,
fields: [
{name: 'items'}
]
});
var carousel = new Ext.Carousel({
fullscreen: true,
items: [{
xtype: 'carousellist',
store: store
}, {
html: 'card 2'
}]
})
}
});
</script>
</body>
</html>