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?
Printable View
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?
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?
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!
Get a reference the carousels element, and listen to the tap event.
Code:carousel.element.on('tap', this.doSomething, this);