mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
tw-new-tiddler example docs
This commit is contained in:
parent
c73853288c
commit
69af30bf0d
@ -1,5 +1,5 @@
|
||||
created: 20140226194405353
|
||||
modified: 20140226194729158
|
||||
modified: 20140724194729158
|
||||
tags: message navigator-message
|
||||
title: WidgetMessage: tw-new-tiddler
|
||||
type: text/vnd.tiddlywiki
|
||||
@ -11,3 +11,11 @@ The new tiddler message creates a new draft tiddler and adds it to the current s
|
||||
|navigateFromTitle |Title of the tiddler from which the navigation to the new tiddler was initiated |
|
||||
|
||||
The new tiddler message is usually generated with the LinkWidget or the ButtonWidget and is handled by the NavigatorWidget.
|
||||
|
||||
! Example
|
||||
|
||||
To make a button that creates new tiddlers tagged "task", create a tiddler called "TaskTemplate" with that tag, and then make your button like this:
|
||||
|
||||
```
|
||||
<$button message="tw-new-tiddler" param="TaskTemplate">New Task</$button>
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user