Thanks for the feedback Fabulo.

> Are you planning on eventually moving the handled events functionality to
> a central spot so they can be called by plugins and/or enabled from other
> locations?


DOM events are used by several distinct, independent mechanisms within TW5.
They are generally used whenever a user action needs to trigger a response
in a way that is specific to the point in the DOM at which it happens. For
example tw-close-tiddler is specific to the tiddler in which the event was
first raised. Meanwhile, tw-save-wiki is global, with the same action
occurring regardless of where it is triggered in the DOM. There's nothing
to stop other widgets from raising events, or listening out for events. The
handlers for the events that we use at the moment are spread out through
the code because they live in the components with which they are concerned.

Can you give some examples of the sort of functionality you're thinking
about?

Many thanks,

Jeremy



>
>
>  --
> 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?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to