Hello, I'm still working on developing a plugin using D3.js to vizualise and navigate into TW table of content and I'm currently working on a JavaScript Widget to automatically generate a json that describes this table of content.
As I want the visualisation to be automaticcally updated in case of change (addition, suppression, rename...) in the table of content, I use a "detector" tiddler that contains <<toc myRootTag>>. and then I rely on the refresh part of the widget with the following syntax ``` myWidget.prototype.refresh = function(changedTiddlers) { var changedAttributes = this.computeAttributes(); if(changedAttributes.data || changedTiddlers[this.myDataTiddler]) { this.refreshSelf(); return true; } return false; }; ``` "data" of course points to "detector".... But actually the detector does not work, as its content (<<toc myRootTag>>) remains the same, just the parsing of this instruction is different... How could I detect the change in parsing rather than the tiddler text ? Hope I'm clear enough, thank you for your help Silverfox -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/ba0d8057-7246-47db-97bb-2617a38a979c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.