14th October 2020 at 3:24pm
The tm-scroll message causes the surrounding scrollable container to scroll to the specified DOM node into view. The tm-scroll is handled in various places in the core itself, but can also be handled by a ScrollableWidget.
| Name | Description |
|---|---|
| target | Target DOM node the scrollable container should scroll to (note that this parameter can only be set via JavaScript code) |
| selector | Introduced in v5.1.23 Optional string CSS selector as an alternate means of identifying the target DOM node |
| animationDuration | Introduced in v5.2.2 Optional number specifying the animation duration in milliseconds for the scrolling. Defaults to the global animation duration. |