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
single-tiddler-mode^2
Jeremy Ruston 2020-03-30 20:43:17 +01:00
rodzic a4003d4697
commit 010483f705
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -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>'/>