The view in question would logically be something like this:
I have a view with 2 items. A list, and a detailed page that I slide to upon clicking an item of the list. The detailed item is a vertical carousel with 2 items, one a panel, and the second is another carousel that contains a panel, and a list. I have managed to get everything to work with the double carousel, so no issues there. My issue lies with a segmented button that is in a toolbar docked at the top of the second carousel. I was wanting to allow the user to flip between the 2 pages of this carousel with this segmented button as well as the slide to flip action the carousel provides.
So based on the above scenario, I am trying to setActiveItem of an activeItem of the activeItem. Thick, I know lol.
I attempted to call an alert of what the active item of the view was and I got some function back. I took that function and set it to a variable in order to try and see what the active item of it was, but the result came back undefined, leaving me lost.
Any advice on handling this issue. Also, is toggle the proper event to use for the segmented button I described above?
Any and all feedback would be a major help.
Thanks in advance,
ps: Why is the forum often in spanish? I've checked all my settings and I have no clue why this happens. Just curious.