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

WidgetMessage: tm-navigate

2021년 7월 5일 오전 9:49

The tm-navigate message inserts the specified tiddler into the story and puts it at the top of the history stack. If the tiddler is not already present in the story then it will be positioned immediately after the tiddler specified in event.navigateFromTitle.

The navigate message requires the following properties on the event object:

NameDescription
navigateToTitle of the tiddler that is being navigated
navigateFromTitleTitle of the tiddler from which the navigation was initiated
navigateFromClientRectBounding rectangle in client page coordinates of the element initiating the navigation
navigateFromClientTopIntroduced in v5.2.0 Y coordinate of top edge of bounding client rectangle
navigateFromClientLeftIntroduced in v5.2.0 X coordinate of left edge of bounding client rectangle
navigateFromClientWidthIntroduced in v5.2.0 Width of bounding client rectangle
navigateFromClientRightIntroduced in v5.2.0 X coordinate of right edge of bounding client rectangle
navigateFromClientBottomIntroduced in v5.2.0 Y coordinate of bottom edge of bounding client rectangle
navigateFromClientHeightIntroduced in v5.2.0 Height of bounding client rectangle
navigateSuppressNavigationtrue causes the new tiddler to only be added to the story, and not the history stack. This suppresses the scrolling associated with navigating to a tiddler

The navigate message can be generated by the LinkWidget, the ActionNavigateWidget and the ButtonWidget, and is handled by the NavigatorWidget.