2016-04-25 07:28:42 +00:00
caption: tm-fold-all-tiddlers
created: 20160424230908388
2020-01-30 12:50:19 +00:00
modified: 20191028113838596
2016-04-25 07:28:42 +00:00
tags: Messages
title: WidgetMessage: tm-fold-all-tiddlers
type: text/vnd.tiddlywiki
2019-02-05 16:01:24 +00:00
The `tm-fold-all-tiddlers` message folds all tiddlers in the current story list.
2016-04-25 07:28:42 +00:00
2019-02-05 16:01:24 +00:00
Internally, it sets the text of all of the state tiddlers corresponding to tiddlers in the story river to "<<.value "hide">>". The state tiddler titles are formed by prefixing the tiddler title with a prefix that defaults to `$:/state/folded/`.
2016-04-25 07:28:42 +00:00
2019-02-05 16:01:24 +00:00
|!Name |!Description |
|foldedStatePrefix |Prefix for the state tiddler in which the fold state is stored. Defaults to `$:/state/folded` |
2016-04-25 07:28:42 +00:00
The `tm-fold-all-tiddlers` message is usually generated with the ButtonWidget and is handled by the surrounding NavigatorWidget.