[xinf] DOM Events?

Mark Winterhalder mark13 at gmail.com
Fri Jun 23 13:06:54 CEST 2006


> Any comment from this last version ?

Yes. It tought me <T,D>, somehow I had missed this. Cool. The more I
learn about haXe the better I like it.

Oh, and I like that EventDispatcher, too :)

Got my vote, thanks Nicolas!

Mark



On 6/23/06, Nicolas Cannasse <ncannasse at motion-twin.com> wrote:
> >> Thanks for the explain. :)
> >>
> >> Yes, that would be nice, but in that case you'll have to return a Bool
> >> saying if you want or not to continue bubbling the event.
> >>
> >> Well, maybe i'v never thought of a listener have ability to stop other
> >> listeners to be triggered by a bubble property(Just can't imagine
> >> there is such a usage seems normal to event system, maybe it's my
> >> knowledge limit). :)
> >
> > This makes me think that you can replace the Bool return by an Exception
> >  , which is a lot more friendly !
> >
> > Some other cases can be handled. If we want to add more features you
> > just need to add enum contructors and handle them in the dispatchEvent
> > loop.
> >
> > Nicolas
>
> Any comment from this last version ?
>
> Hank is that ok for you ?
> Dan would that suit XInf needs ?
>
> If ok for people here, I'll prepare an official proposal for inclusion
> in haXe of the following types :
>
> haxe.event.Listener;
> haxe.event.Event; ( was : EventSite )
> haxe.event.Handler;
>
> Nicolas
>
>
> --
> xinf is not flash
> http://xinf.org/
>


More information about the xinf mailing list