Hi Alex,


Accordion, as I wrote it, will not function properly without some mechanism for 
collapsing items. This code calls get accordionCollapseBead() which searches 
for beads that implement ICollapseBead, either in the beads collection or in 
CSS. It’s similar to the way UIBase initializes models, views, and controllers.



What dependencies are you worried about?



Thanks.







From: Alex Harui<mailto:aha...@adobe.com>
Sent: Wednesday, November 16, 2016 5:56 PM
To: dev@flex.apache.org<mailto:dev@flex.apache.org>; 
comm...@flex.apache.org<mailto:comm...@flex.apache.org>
Subject: Re: git commit: [flex-asjs] [refs/heads/develop] - Add easing effect 
to accordion.




On 11/15/16, 11:58 PM, "yish...@apache.org" <yish...@apache.org> wrote:

>               override public function addedToParent():void
>               {
>                       super.addedToParent();
>+                      accordionCollapseBead; // make sure it's initialized
>                       if (selectedIndex < 0)
>

Hi Yishay,

What does this code do?  Seems like it would bake in some dependencies.

-Alex

Reply via email to