이 문서는 https://tiddlywiki.com/languages/ko-KR/에서 티들리위키의 정적 HTML 표현의 일부입니다

WidgetMessage: tm-scroll

2020년 10월 14일 오후 3:24

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.

NameDescription
targetTarget DOM node the scrollable container should scroll to (note that this parameter can only be set via JavaScript code)
selectorIntroduced in v5.1.23 Optional string CSS selector as an alternate means of identifying the target DOM node
animationDurationIntroduced in v5.2.2 Optional number specifying the animation duration in milliseconds for the scrolling. Defaults to the global animation duration.

Tip
Set animationDuration to 0 to scroll without animation