-
13 Nov 2011 10:47 PM #1
Tap event for a carousel in mvc!
Tap event for a carousel in mvc!
how can i add tap event to a carousel using mvc?, i am able get the select event of a list using its xtype in control, but my doubt is how can i get tap event of the carousel using control?
-
14 Nov 2011 1:14 AM #2
Hi arunc.
So, if I well understand what you want to achieve is to get the event "tap" when the user tap anywhere inside a carousel card, am I correct?Sencha Inc
Andrea Cammarata, Solutions Engineer
CEO at SIMACS
@AndreaCammarata
www.andreacammarata.com
github: https://github.com/AndreaCammarata
-
14 Nov 2011 2:29 AM #3
what i want to do is like that , imagine we have 5 item in one carousel and i want to show separate views(pages) on each item tap!
-
22 Nov 2011 12:03 AM #4
Get a reference the carousels element, and listen to the tap event.
Code:carousel.element.on('tap', this.doSomething, this);Sencha Inc.
Robert Dougan - @rdougan
Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.


Reply With Quote