Re: cancelable and bubbles in init*Event

* Robin Berjon wrote:
>The battery event is defined in such a way that it is neither
>cancellable nor bubbling. However, in line with other init*Event
>methods, options are provided to define synthetic such events as
>cancellable or bubbling. The question is therefore: what's the right
>thing to do when either are set to true?
>    a) Synthesise an event that bubbles and can be cancelled?

The answer is "a", though not for the reasons Anne offered, but because
there are no interfaces, that I know of, that define the init methods
in any other way, and you have provided no reason why this interface
is set apart from the others in a manner that suggest other behavior.
Björn Höhrmann · ·
Am Badedeich 7 · Telefon: +49(0)160/4415681 ·
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · 

Received on Wednesday, 7 September 2011 02:25:57 UTC