Folks,

The close function is documented here, and the windows opened need a name, 
https://developer.mozilla.org/en-US/docs/Web/API/Window/close

However I just though I would add, content in the tiddlywiki affects what 
is displayed in the window, and visa versa. So I see that if we had a way 
to trigger the window to close according to a condition of a particular 
tiddler, there should be a way to make a window able to react and close 
itself.

Careful consideration may allow a series of windows to be opened, with 
navigation to the next closing the last.

Regards
Tones


On Tuesday, August 11, 2020 at 12:03:00 PM UTC+10, jd wrote:
>
> Hi dev people, 
>
> I was wondering if the main browser window tracks its children windows? I 
> have this scenario: 
>
> Different drafts opened in multiple children windows through 
> tm-open-window, but are not opened in the story river of the parent browser 
> = cluttered draft tabs in the bottom of the parent browser. 
>
> I experimented with populating a list tiddler (WindowList) with the title 
> of children windows as they are being called. In this way, I was able to 
> target the red draft tabs and style the specific tab so it isn't displayed 
> in the parent window. 
>
> The problem now is, when I close the child window, it is still listed in 
> (WindowList) and thus its red draft tab in the parent window is still 
> hidden. 
>
>
> Is there any workaround to this or am I missing something?
>
>
> Thanks for the help! 
>
> -jd
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" 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/tiddlywikidev/f555f659-cd20-410b-89ea-7a0ccc285674o%40googlegroups.com.

Reply via email to