On Monday, July 20, 2020 at 7:17:20 AM UTC-7, Mat wrote:
>
> I split out a tiddler into a new window. I want style its contents 
> depending on if it is split out or not. Is there a direct way to tell?
>

In the tm-open-window message, you can provide a parameter such as 
inWindow="true".
This parameter will be passed along to the window as a variable.

Then, in your stylesheet, you can write:
<$list filter="[<inWindow>match[true]]">
   ... window specific styles go here ...
</$list>

-e

-- 
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/f8dc8379-6b41-4f96-9c1f-fd6070fa3890o%40googlegroups.com.

Reply via email to