Carousel Navigation
Hi
Is there a way when I touch an image on the carousel, I can navigate to the page associated with the image?
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Hi
Is there a way when I touch an image on the carousel, I can navigate to the page associated with the image?
Hi Deon,
Please try increasing Carousel size (for example, set 200px instead of 50px).
????. How does that navigate to a page associated to an image. That just increases the size of the image. Maybe I have not explained my requirement properly?
Deon,
Please give us a public app link.
Hello Deon! Sorry for misunderstanding. It's hard to do because Carousel is a quite complicated element with a big amount of events and it's not that easy to add on click event for inner element of Carousel item and don't change the way Carousel works. You can try, but it's better to find another way to navigate between pages.
Hi Maryna
Thank you. Unfortunately having the ability to click on a carousel item is Industry Standard Practice. It is pointless to even have a carousel component if you cannot click through on it.
I am trying to use the click event of the carousel item to store its value to local storage.Click event on carousel item does not work. It works for the Carousel component itself but it does not seem to know what image was clicked.
Please let me know if there is a way to get this to work. It is extremely important.
Is there someway I can get the contents of the image title for the image item and store it in a local variable when the image is clicked
Hi Deon,
We need to clarify this with the developers and we will inform you.
Thank you
Deon,
This seems to be our bug. For now, you can use the following workaround.
Add this code on Page Show event:preAppery('mobilecarouselitem_3').on("tap",
function() {
// your JS code
}
);/preWhere 'mobilecarouselitem_3' is a Carousel component name,
'tap' is a name of touch event