1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-27 02:20:28 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget Example 1.tid
btheado 6505e4610f
Use the testcase widget for $action-createtiddler examples (#8232)
* Use the testcase widget for the $action-createtiddler widget examples

* Use procedure instead of macros for $action-createtiddler examples
2024-09-10 11:49:04 +01:00

15 lines
559 B
Plaintext

created: 20200131142401129
modified: 20240602154417754
tags: ActionCreateTiddlerWidget
title: ActionCreateTiddlerWidget Example 1
type: text/vnd.tiddlywiki
<$testcase>
<$data title=Description text="Default widget with no attributes"/>
<$data title=Narrative text='The button in this example uses the $action-createtiddler widget to create "New Tiddler", "New Tiddler 1", " New Tiddler 2" and so on'/>
<$data title=Output text="""\procedure testCreate() <$action-createtiddler />
<$button actions=<<testCreate>> >
Create Tiddler
</$button>"""/>
</$testcase>