]> git.proxmox.com Git - sencha-touch.git/blob - src/examples/kitchensink/app/view/CoverDown.js
import Sencha Touch 2.4.2 source
[sencha-touch.git] / src / examples / kitchensink / app / view / CoverDown.js
1 /**
2 * Demonstrates a 'cover' card transition, which shows a new item by sliding it over the top of the
3 * current item, in this case starting from the top
4 */
5 Ext.define('Kitchensink.view.CoverDown', {
6 extend: 'Ext.Panel',
7 requires: ['Kitchensink.view.LoremIpsum'],
8 config: {
9 cls: 'card card4',
10 scrollable: true,
11 items: [{
12 docked: 'top',
13 html: 'Cover Down Animation'
14 }, {
15 xtype: 'loremipsum'
16 }]
17 }
18 });