>>> Now I'm waiting for someone to pop up with "there's a new undocumented 'is mobile" tiddler" ...
It seems there is! I searched the shadow tiddlers and there's a bunch of them for various different types of browser/platform, all with the prefix "$:/info/browser/is/". So for android I just used the following filter: <$list filter="[[$:/info/browser/is/android]get[text]match[yes]]"> Here is what I want to appear in mobile mode. </$list> Thank you very much @Mark! On Monday, 14 December 2020 at 17:46:09 UTC Mark S. wrote: > Thinking out loud. > > Looking at InfoMechanism > <https://tiddlywiki.com/prerelease/#InfoMechanism>, it seems the only > information TW exposes that might be useful are the screen dimensions. On > some phones, the screen ratio is 2. On most many desktop screens it's less > than two. So maybe a viewtemplate could check the ratio, and based on that > display or not display information. It would depend on what the ratios are > for your particular desktop and particular phone. > > Now I'm waiting for someone to pop up with "there's a new undocumented 'is > mobile" tiddler" ... > > On Monday, December 14, 2020 at 8:02:19 AM UTC-8 si wrote: > >> As per the title, I'm wondering if there is a way to set a ViewTemplate >> to appear at the bottom of every tiddler in my wiki, but *only* while in >> mobile mode. >> >> I know that I could create a manual toggle button to do this, but am >> wondering if there is any way to have this work automatically? >> > -- 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/1d2ae9bc-5246-4d23-8c57-6721fc051a43n%40googlegroups.com.

