> > No they can't be bubbled, there is only one DOM node, they could be > cancelled but that has little point because again there is only one DOM > node. You could stop immediate propagation but that's just really annoying > in this pattern
Very true. I missed that. I am gonna edit that. Thanks! Your also dispatching the same event multiple times. Which won't work on > some browsers If you mean that because everytime a property is 'set' I dispatch my event, Yeah! What browsers would it not work on? I tried to Webkit based browsers only frankly. Your also relying on DOM2 events and have no fallback for IE Yup, I never care about IE. Note that you can create a CustomEvent instead and initialize that custom > event with a details object. Very nice. Thanks for this. I never knew this again. I covered more about custom events in a recent article : > http://raynos.org/blog/11/Native-Custom-events-made-easy On my reading list. Once again, thanks for reviewing the post. -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
