Hybrid View

  1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    29
    Vote Rating
    0
    arunc is on a distinguished road

      0  

    Exclamation 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?

  2. #2
    Sencha - Services Team AndreaCammarata's Avatar
    Join Date
    Jun 2009
    Posts
    1,394
    Vote Rating
    22
    AndreaCammarata has a spectacular aura about AndreaCammarata has a spectacular aura about

      0  

    Default


    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

    TUX components bundle for Sencha Touch 2.x.x
    http://www.tux-components.com/


  3. #3
    Sencha User
    Join Date
    Oct 2011
    Posts
    29
    Vote Rating
    0
    arunc is on a distinguished road

      0  

    Default


    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!

  4. #4
    Sencha - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,158
    Vote Rating
    6
    rdougan will become famous soon enough

      0  

    Default


    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.

Thread Participants: 2

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi