div-action-scroll-by
Scrolls the container by item_count
or offset
starting from the current position. If both values are specified, the action will be combined. For scrolling back, use negative values.
Parameters
Parameters | Description |
---|---|
id |
string Required parameter. ID of the element where the action should be performed. Available platforms: Android. |
type |
string Required parameter. The value must always be Available platforms: Android. |
animated |
bool Enables scrolling animation. Default value: Available platforms: Android. |
item_count |
int Number of container elements to scroll through. For scrolling back, use negative values. Default value: Available platforms: Android. |
offset |
int Scrolling distance measured in Default value: Available platforms: Android. |
overflow |
string Defines navigation behavior at boundary elements: clamp : Stop navigation at the boundary element (default)ring : Navigate to the start or end, depending on the current element.Possible values: Default value: Available platforms: Android. |
JSON
{
type*: "scroll_by",
animated: "bool",
id*: "string",
item_count: "int",
offset: "int",
overflow: "string"
}