Just wondering how you are getting on with this and how you are tackling it?
Seen as TW comes with jQuery integrated I'd probably use the observer pattern[1] and something like the trigger[2] method to fire custom events such as openTiddler and closeTiddler. Anyway just curious to see how you decide to do it. Colm [1] - http://addyosmani.com/resources/essentialjsdesignpatterns/book/#observerpatternjavascript [2] - http://api.jquery.com/trigger/ On Feb 8, 1:03 am, Eric Shulman <[email protected]> wrote: > On Feb 7, 3:47 pm, Arlen Beiler <[email protected]> wrote: > > > Is there anyway to detect when a tiddler is opened or closed? I need > > it to update a list of opened tiddlers. I checked the Story section, > > but I couldn't find any events. Thanks > > Here's the two TWCore functions that you will need to hijack: > > story.prototype.displayTiddler(place,title) > story.prototype.closeTiddler(title) > > enjoy, > -e -- 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.
