1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 10:07:19 +00:00

Fix ActionPopupWidget example

Thanks @twmat

The example had been written while there was a bug that changed the state tiddler titles used by the sidebar
This commit is contained in:
Jeremy Ruston 2020-03-30 20:43:17 +01:00
parent a4003d4697
commit 010483f705

View File

@ -19,11 +19,11 @@ The ''action-popup'' widget is invisible. Any content within it is ignored.
! Examples
Here is an example of button that triggers the "more" button in the sidebar "Tools" tab
Here is an example of button that triggers the "more" button in the sidebar "Tools" tab. You may need to scroll to see the popup
<$macrocall $name='wikitext-example-without-html'
src='<$button>
<$action-setfield $tiddler="$:/state/tab/sidebar-1206596165" $value="$:/core/ui/SideBar/Tools"/>
<$action-popup $state="$:/state/popup/more-435115636" $coords="(0,20,0,0)"/>
<$action-setfield $tiddler="$:/state/tab/sidebar--595412856" $value="$:/core/ui/SideBar/Tools"/>
<$action-popup $state="$:/state/popup/more-2053862905" $coords="(0,20,0,0)"/>
Click me!
</$button>'/>