action
Callback fired when the component mounts. This is useful when you want to trigger an action programmatically. It supports two actions: updateIndicator()
and updateScrollButtons()
Parameters
{object} actions This object contains all possible actions that can be triggered programmatically.