[Laszlo-dev] "can't use lz.embed.attachEventHandler" Why?
P T Withington
ptw at pobox.com
Thu Jun 18 07:23:17 PDT 2009
On 2009-06-17, at 21:10EDT, hqm at openlaszlo.org wrote:
> +// can't use lz.embed.attachEventHandler because we need to cancel
> events
Can someone explain this comment to me? I see it in a number of
places, and it worries me. I'm concerned that we are using the
"assign event handler as property" interface, because of the
possibility that more than one place in the code will try to assign to
the same event and end up losing. I thought attaching event handlers
supported both cancelling bubbling and default suppression, so I don't
understand the comment.
Please enlighten me.
More information about the Laszlo-dev
mailing list