mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-04 15:29:56 +00:00
6505e4610f
* Use the testcase widget for the $action-createtiddler widget examples * Use procedure instead of macros for $action-createtiddler examples
15 lines
559 B
Plaintext
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> |