I haven't seen any mention of storing stuff outside of tiddlers. I use global (window) objects in some of my plugins.
On Saturday, November 1, 2014 4:36:41 PM UTC, Felix Küppers wrote: > > Hi, > > does anyone know if there is a designated place for TW plugins to store > stuff in the dom that needs to persist even if a widget is removed? > > I am *not* talking about json or text that can be stored in datatiddlers > or alike. > > My plugin reoccurs on many places in different forms and I need to access > the same runtime-data. > > If no best practice exists, I would simply create a global object with my > plugin-name as namespace an attach it to the window object. > > Regards Felix > -- 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 post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywikidev. For more options, visit https://groups.google.com/d/optout.
