OptionalaltOffset the target coordinates by the given amount(s) when altTarget is used.
OptionalaltIf the scrolling element is already at the given coordinates (or strictly
speaking we allow for 5 pixels difference), then if altTarget is given,
this will become the target to scroll to.
OptionaldurationThe duration of the scroll animation in milliseconds. If not given, it is instant.
OptionaloffsetOffset the target coordinates by the given amount(s).
E.g. if the final target coordinates are computed to be
{top: 100, left: 0} and you specify offset as {top: 10, left: 20}, it
will scroll to {top: 110, left: 20}.
OptionalscrollableThe element that should be scrolled.
OptionaluserWhether a user attempt to scroll the target can interrupt this before it finishes.
OptionalweWhether another request to us to scroll the same target can interrupt this scroll before it finishes.