Actually, use of sections to deliver a 'payload' of CSS, HTML, etc. that is then dynamically loaded as needed, was something that I developed shortly after sections were first implemented in the core.
I had a feeling this was an Ericism - my apologies!
Also note that, in addition to directly setting CSS via setStylesheet, 'section payloads' can also be deposited into shadow definitions
I also prefer providing customizable shadow tiddlers (as illustrated in my original post). However, I generally avoid setStylesheet altogether and use addNotification with refreshStyles, which nicely encapsulates the necessary steps.
-- F. -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tiddlywikidev?hl=en.
