Dojo Events - Template or Programmatic?
Events and how best to attach them to widgets.
When you are wiring up events in a custom, templated widget, do you wire them up using the template (using “data-dojo-attach-event”), or do you wire them up in the postCreate of your widget? Is one better than the other?
vs.
Let me know in the comments!
Written by Gavin Rehkemper on
Subscribe
Get an email summary of my blog posts (four per year):
... or follow the blog here: