Reply to thread

No reason at all. Unless you need namespaced events. There’s a new XF.trigger() method too as a wrapper around dispatchEvent which is also fine to use. The inability to remove event listeners without a reference to the original handler is the biggest pain that on/off helps with, but often not too difficult to just keep that reference anyway.


Back
Top Bottom