2016-01-07 23:00:38 +00:00
|
|
|
created: 20160107225427489
|
2020-04-02 18:49:41 +00:00
|
|
|
modified: 20200312172056083
|
2016-01-07 23:00:38 +00:00
|
|
|
tags: Features
|
|
|
|
title: Modals
|
|
|
|
type: text/vnd.tiddlywiki
|
|
|
|
|
|
|
|
Modals (or "wizards") fade the main TiddlyWiki window to display an isolated tiddler that must be explicitly dismissed by the user.
|
|
|
|
|
2020-04-02 18:49:41 +00:00
|
|
|
The tiddler to be displayed can contain the following optional fields that are used to customize the modal:
|
|
|
|
|
|
|
|
|!Field |!Description |
|
|
|
|
|footer|The footer text for the modal|
|
|
|
|
|subtitle|The subtitle text for a modal|
|
|
|
|
|class|An additional class to apply to the modal wrapper|
|
|
|
|
|
2016-01-07 23:00:38 +00:00
|
|
|
Modals are displayed with the [[WidgetMessage: tm-modal]].
|
|
|
|
|
2020-04-02 18:49:41 +00:00
|
|
|
<$button message="tm-modal" param="SampleWizard">Open demo modal</$button>
|