[Silk UI Web] How to make Mobile Carousel changed by user trigger

[Silk UI Web] How to make Mobile Carousel changed by user trigger

  
Forge Component
(51)
Published on 2 Oct (2 weeks ago) by OutSystems R&D
51 votes
Published on 2 Oct (2 weeks ago) by OutSystems R&D

Hi,

I created carousel in mobile project, and i want it changed by a user trigger in a button.

To do this task i created a variable to preserve index that incremented by this button, and i bound InitialPosition property this carousel to this variable.

When i run this app and pressed the button, the variable content is increment successfuly, but the carousel is not increment.

But when i hardcoded the InitialPosition with a number, the carousel shows the correct data.

What is missing?


Thanks in advance

Eddy

Solution

Hi Eddy,

You can use Client Actions from the Mobile Patterns module to do that.

Just give a Name to the Carousel widget in your Screen (so that you can identify it) and use that name.Id when calling the Action.

Cheers,

José

Solution

Hi Jose,

Its works, thanks for the enlightenment..


Regards,

Eddy