2016-10-21 10:26:26 +00:00
|
|
|
created: 20161020153426686
|
|
|
|
modified: 20161020155142990
|
|
|
|
tags: ActionCreateTiddlerWidget
|
|
|
|
title: ActionCreateTiddlerWidget Example
|
|
|
|
type: text/vnd.tiddlywiki
|
|
|
|
|
2021-06-01 08:41:14 +00:00
|
|
|
Caption for new button: <$edit-text tiddler="$:/state/new-button-caption" tag="input" default=""/>
|
2016-10-21 10:26:26 +00:00
|
|
|
|
|
|
|
<$button>
|
2021-06-01 08:41:14 +00:00
|
|
|
<$action-createtiddler $basetitle="Homemade Button" tags="$:/tags/PageControls" text={{$:/state/new-button-caption}}>
|
|
|
|
<$action-navigate $to=<<createTiddler-title>>/>
|
|
|
|
</$action-createtiddler>
|
|
|
|
Create a new non-functional page control button and open the tiddler
|
2016-10-21 10:26:26 +00:00
|
|
|
</$button>
|