div-action-scroll-to
Scrolls to a position or switches to the container element specified by the destination
parameter.
Parameters
Parameters | Description |
---|---|
destination |
object Required parameter. Defines the scrolling end position: index : Scroll to the element with the index provided in value offset : Scroll to the position specified in value and measured in dp from the start of the container. Applies only in gallery ;start : Scroll to the container start;end : Scroll to the container end.The value has the type Available platforms: Android. List of possible values: |
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. |
JSON
{
type*: "scroll_to",
animated: "bool",
destination*: div-action-scroll-destination,
id*: "string"
}