Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Carousel Click Event

Hi

I would like to add an event to the carousel when it is clicked it will store the title of the clicked carousel item to a storage variablet and then navigate to a page.
I have tried the click and tap event handlers on the carousel_item but neither works.

Is there a way to do this?
Thank you

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Carousel Click Event

Hello Deon,

Please add a click event handler to the mobilecarouselitem component, it works fine.

Could you clarify, what libraries version do you use?

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Carousel Click Event

Latest libraries. New app. . Does not work

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Carousel Click Event

Hi Deon -

To debug this further, inside the event handler for click and ontap, add a simple "alert(..)" just to be sure the event is fired and the handler is called. Once you got this working, it will be simpler to get the saving part working.

Return to “Issues”