I'm still not clear if you want the view toolbar/control panel related 
aspects of the "more" dropdown on or not.

A generic example of a dropdown button would be this from the RevealWidget 
docs:

<$button popup="$:/SamplePopupState">Pop me up!</$button>

<$reveal type="popup" state="$:/SamplePopupState">
<div class="tc-drop-down">

! This is the popup
And this is some text

</div>
</$reveal>


The toolbar "more" button has the same pattern, but the logic for what to 
display for each button (icons/text) is more complex so that it respects 
the settings from the ControlPanel. If you intend for your button to behave 
exactly the same as the core view toolbar buttons, then the "more" button 
is a good example. All of the extra logic and complexity is needed, except 
maybe the check against config-title

Hope this helps,
Saq

On Friday, June 26, 2020 at 12:44:49 PM UTC+2, TW Tones wrote:
>
> Saq
>
> I took your reply seriously and read your links provided more than once.
>
> I think taking the more button as an example may have been a bad idea. 
> Despite deep expiernce elsewhere I have spent little time on popups, and 
> don't know them in html either.
>
> Clearly I need more time on task and to teach myself. 
>
> More is only special in it has a drop down and lives in the toolbar, and 
> has toolbar options in control panel. 
>
> If there is no generic example I will teach myself. Thanks anyway.
>
> Tones
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/15a37a25-af5c-40e4-9fcf-1a5553417c77o%40googlegroups.com.

Reply via email to