you can see how the switcher is used in

$:/snippets/minithemeswitcher

On Monday, June 17, 2019 at 8:16:51 PM UTC+2, Mohammad wrote:
>
> Hi BJ,
>
>  Thanks, I failed to produce an example!
>
> Best
> Mohammad
>
>
>
> On Monday, June 17, 2019 at 1:19:18 AM UTC+4:30, BJ wrote:
>>
>> maybe you can use the plugin switcher in the core:
>>
>>
>> https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/pluginswitcher.js
>>
>> On Sunday, June 16, 2019 at 7:38:51 PM UTC+2, Mohammad wrote:
>>>
>>> I am working on Tiddlyshow to finalize it as a plugin!
>>> I have several themes for slideshow. I want to apply themes by a theme 
>>> switcher!
>>> What I do now is to apply the $:/tags/Stylesheet to bundle of tiddlers 
>>> in selected theme and remove $:/tags/Stylesheet  tag
>>> from previous theme tiddlers (each theme has 5 to 10 tiddlers)
>>>
>>> I thought I can use the mechanism by TW itself! so I need a macro/tool 
>>> to let me unload a theme (by packing internally into a JSON tiddler)
>>> and unpack (load) the new selected one!
>>>
>>> How can I do this? I am insisted to not add extra third party plugins to 
>>> restrict any dependencies!
>>>
>>>
>>> Mohammad
>>>
>>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f0bd787f-9c39-4729-9001-6b4d6bc44ac6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to