flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From piotrz <piotrzarzyck...@gmail.com>
Subject Re: [FlexJS] MDL - Dynamic Child Problem
Date Thu, 23 Feb 2017 16:12:59 GMT
I was thinking more about solution for this and I think that interface is not
the right way. 

If my component will implement interface during creation I will  always have
two lines of code: 

var textField:TextField = new TextField();
textField.isDynamic = true:

I think I will just add field to constructor to each component which will be

var textField:TextField = new TextField(true);


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

View raw message