mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-29 04:49:55 +00:00
9faaa31299
I'm not sure if the docs are clear, but this is quite a big deal, and along with 582b156d5f
makes working with action widgets a lot easier.
14 lines
535 B
Plaintext
14 lines
535 B
Plaintext
created: 20161020153426686
|
|
modified: 20161020155142990
|
|
tags: ActionCreateTiddlerWidget
|
|
title: ActionCreateTiddlerWidget Example
|
|
type: text/vnd.tiddlywiki
|
|
|
|
Caption for new button: <$edit-text tiddler="$:/state/new-button-caption" tag="input" default=""/>
|
|
|
|
<$button>
|
|
<$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
|
|
</$button> |