mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-25 09:30:28 +00:00
d1f2c399ce
* Add documentation to various widget messages. The following widget messages now have documentation: * tm-edit-bitmap-operation * tm-edit-text-operation * tm-fold-all-tiddlers * tm-fold-other-tiddlers * tm-fold-tiddler * tm-unfold-all-tiddlers * tm-load-plugin-from-library * tm-load-plugin-library * tm-open-window * tm-scroll * Fixed alignment error.
14 lines
573 B
Plaintext
14 lines
573 B
Plaintext
caption: tm-scroll
|
|
created: 20160425000906330
|
|
modified: 20160425001655166
|
|
tags: Messages
|
|
title: WidgetMessage: tm-scroll
|
|
type: text/vnd.tiddlywiki
|
|
|
|
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. |
|
|
|
|
Due to the nature of the parameter, the `tm-scroll` can only be generated within javascript code.
|