1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-08 13:04:21 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/messages/WidgetMessage__tm-fold-all-tiddlers.tid
Andreas Hahn d1f2c399ce Add missing widget message documentation (#2399)
* 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.
2016-04-25 08:28:42 +01:00

18 lines
946 B
Plaintext

caption: tm-fold-all-tiddlers
created: 20160424230908388
modified: 20160424232733820
tags: Messages
title: WidgetMessage: tm-fold-all-tiddlers
type: text/vnd.tiddlywiki
The `tm-fold-all-tiddlers` message folds all tiddlers in the current story list. It does so by setting the text of a state tiddler to either "<<.value "show">>" or "<<.value "hide">>", according to the fold state.
|!Name |!Description |
|foldedStatePrefix |Prefix for the state tiddler in which the fold state is stored. |
<<.tip "The core uses a foldStatePrefix of '$:/state/folded/' to store the fold states for the default story view.">>
<<.warning "The state tiddlers title is computed as 'foldStatePrefix + TiddlerTitle'. If the foldStatePrefix is not set, it will overwrite the text of the tiddler(s) itself, resulting in data loss. ">>
The `tm-fold-all-tiddlers` message is usually generated with the ButtonWidget and is handled by the surrounding NavigatorWidget.