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

WidgetMessage: tm-fold-tiddler

2019년 10월 28일 오전 11:35

The tm-fold-tiddler message toggles the value of a state tiddler. It does so by setting the text of a state tiddler to either "show" or "hide", according to the fold state.

NameDescription
paramignored ... foldedState must be used
foldedStateState tiddler in which the fold state is stored

Tip
The core uses a foldState prefix of $:/state/folded/ + tiddler title to store the fold states for the default story view.

The tm-fold-tiddler message is usually generated with the ButtonWidget and is handled by the surrounding NavigatorWidget.

The core $:/core/ui/ViewTemplate defines a global variable folded-state, that is used with every tiddler. It's created like this:

\define folded-state()
$:/state/folded/$(currentTiddler)$
\end