An event fired at the moment of scrollToTheSelection
being called. It
carries two objects in its payload (args
):
- The first argument is the object containing data that gets
passed down to the
scrollViewportToShowTarget
helper. If some event listener modifies it, it can
adjust the behavior of the scrolling (e.g. include additional viewportOffset
).
- The second argument corresponds to the original arguments passed to
scrollViewportToShowTarget
.
It allows listeners to re-execute the scrollViewportToShowTarget()
method with its original arguments if there is such a need,
for instance, if the integration requires re–scrolling after certain interaction.
Properties
-
args : tuple
module:engine/view/view~ViewScrollToTheSelectionEvent#args
-
name : 'scrollToTheSelection'
module:engine/view/view~ViewScrollToTheSelectionEvent#name
Fired by
Every day, we work hard to keep our documentation complete. Have you spotted outdated information? Is something missing?
Please report it via our issue tracker.
With the release of version 42.0.0, we have rewritten much of our documentation to reflect the new import paths and features.
We appreciate your feedback to help us ensure its accuracy and completeness.