2020-04-15 14:51:21 +00:00
|
|
|
created: 20200131142401129
|
2021-11-14 09:12:19 +00:00
|
|
|
modified: 20211113230406823
|
2023-01-17 17:29:08 +00:00
|
|
|
tags: ActionCreateTiddlerWidget
|
2020-04-15 14:51:21 +00:00
|
|
|
title: ActionCreateTiddlerWidget Example 1
|
|
|
|
type: text/vnd.tiddlywiki
|
|
|
|
|
|
|
|
\define testCreate()
|
|
|
|
<$action-createtiddler />
|
|
|
|
\end
|
|
|
|
|
|
|
|
This example will create "New Tiddler", "New Tiddler 1", " New Tiddler 2" and so on
|
|
|
|
|
|
|
|
```
|
|
|
|
\define testCreate()
|
|
|
|
<$action-createtiddler />
|
|
|
|
\end
|
|
|
|
|
|
|
|
<$button actions=<<testCreate>> >
|
|
|
|
Create Tiddler
|
|
|
|
</$button>
|
|
|
|
```
|
|
|
|
|
|
|
|
<$button actions=<<testCreate>> >
|
2020-10-23 15:23:17 +00:00
|
|
|
<$action-setfield $tiddler="$:/state/tab/sidebar--595412856" text="$:/core/ui/SideBar/Recent"/>
|
2020-04-15 14:51:21 +00:00
|
|
|
Create Tiddler
|
|
|
|
</$button> - Clicking this button, will also open the Right sidebar: Recent tab
|