flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: [FlexJS] Should <beads> override or aggregate?
Date Thu, 02 Feb 2017 18:53:04 GMT


On 2/2/17, 6:06 AM, "yishayw" <yishayjobs@hotmail.com> wrote:

>I filed [1].
>
>Note that the same issue can happen in as3 classes. In [2], for example,
>we
>won't see the tooltip if there are other beads added by the user of this
>class. 

What is adding the beads in AS?  I don't recall any code that resets the
beads list.

>
>I propose to add IStrand.beadsReady() which is where implementers will add
>their default beads and check for the issues raised by Peter. We have an
>Event('beadsAdded') but that doesn't always get called, and it can get
>called more than once. Plus, I think having it as part of the interface
>will
>lessen the likelihood of implementers overlooking these issues.

IMO, the 80% case is folks just add the beads without conflict.  Other
code can negotiate if they expect conflict.  That would be more PAYG.

My 2 cents,
-Alex

Mime
View raw message