Re: [royale-asjs] branch develop updated: Fixed event bubbling

2019-12-26 Thread Alex Harui
Hopefully the implementation will be PAYG and use composition and people can add listenOnce when needed (DAYG). I'm hoping that you will find that we can dispatch events off the HTMLElement/Element and bypass goog.events entirely. And then have some cheap, no bubbling, probably no-capture Even

Re: [royale-asjs] branch develop updated: Fixed event bubbling

2019-12-26 Thread Harbs
Anyone feel a need to have something like goog’s “listenOnce” functionality? We’ve never had it in Flex and I didn’t really feel the need. Harbs > On Dec 26, 2019, at 9:35 PM, Harbs wrote: > > OK. Thanks. > > I’m going to try and rework events sometime over the next few days and I hope > to

Re: [royale-asjs] branch develop updated: Fixed event bubbling

2019-12-26 Thread Harbs
OK. Thanks. I’m going to try and rework events sometime over the next few days and I hope to get rid of EventTarget, make it more PAYG and I’ll fix this too. Stay tuned… Harbs > On Dec 26, 2019, at 7:56 PM, Josh Tynjala wrote: > > I seem to recall recently being surprised to learn that you c

Re: [royale-asjs] branch develop updated: Fixed event bubbling

2019-12-26 Thread Josh Tynjala
I seem to recall recently being surprised to learn that you can capture an event that doesn't bubble. I just tried in Flash, and I can confirm that a non-bubbling event can be seen by a parent during the capture phase. var sprite:Sprite = new Sprite(); var child:Sprite = new Sprite(); sprite.addC

Re: [royale-asjs] branch develop updated: Fixed event bubbling

2019-12-25 Thread Harbs
Capture phase will only work if the event.bubbles is true. I think that’s correct behavior. Someone please correct me if I’m wrong. > On Dec 25, 2019, at 12:23 PM, ha...@apache.org wrote: > > This is an automated email from the ASF dual-hosted git repository. > > harbs pushed a commit to branch