flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From piotrz <piotrzarzyck...@gmail.com>
Subject Re: [MDL Dialogs] was: Re: [FlexJS] MDL - Dynamic Child Problem
Date Fri, 03 Mar 2017 17:41:20 GMT
In order to refresh dynamically created element in some cases I have to
upgrade also subcomponent. 

In each scenario it can be something else. I've created UpgradeElement which
can upgrade only simple component. 

In case of Button this will be working:

var btn:Button = new Button();
btn.addBead(new UpgradeElement);

But in case of other components like TextField it won't. So I've decided add
isDynamic property which add ability to refresh on demand - instead doing
this every time.


Apache Flex PMC
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-MDL-Dynamic-Child-Problem-tp59595p60045.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

View raw message