]> git.proxmox.com Git - sencha-touch.git/blob - src/examples/kitchensink/app/view/touchevent/Info.js
import Sencha Touch 2.4.2 source
[sencha-touch.git] / src / examples / kitchensink / app / view / touchevent / Info.js
1 Ext.define('Kitchensink.view.touchevent.Info', {
2 extend: 'Ext.Component',
3 xtype: 'toucheventinfo',
4
5 config: {
6 styleHtmlContent: true,
7 html: [
8 '<p>Sencha Touch comes with a multitude of touch events available on components. Included touch events that can be used are:</p>',
9 '<ul>',
10 '<li>touchstart</li>',
11 '<li>touchmove</li>',
12 '<li>touchend</li>',
13 '<li>dragstart</li>',
14 '<li>drag</li>',
15 '<li>dragend</li>',
16 '<li>tap</li>',
17 '<li>singletap</li>',
18 '<li>doubletap</li>',
19 '<li>longpress</li>',
20 '<li>swipe</li>',
21 '<li>pinch (on iOS and Android 3+)</li>',
22 '<li>rotate (on iOS and Android 3+)</li>',
23 '</ul>'
24 ].join('')
25 }
26 });