flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From piotrz <piotrzarzyck...@gmail.com>
Subject [FlexJS] Support adding items to Lists (MDL TabBar) dynamically
Date Sat, 18 Feb 2017 14:44:14 GMT
Hi All,

I have started to look into problem reported by Sankar for MDL TabBar ->

He was trying to add to the TabBar another tab using Array. I looked into
the js:List and express:List component whether I can actually do this - It
was obvious for me that I should use ArrayList as an dataProvider. For both
components it doesn't work, cause this doesn't exists yet.

My plan is:
1) Create base class called ArrayListAddItemsDynamicBeadBase (basic or html
package - not sure where to put it) - it will listen for events: itemAdded,
2) Implement specific bead for TabBar which will extend
ArrayListAddItemsDynamicBeadBase and create dynamically item once collection

Before I start I would like to hear whether I'm not doing some additional
work and maybe such logic actually exists.


Apache Flex PMC
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Support-adding-items-to-Lists-MDL-TabBar-dynamically-tp59637.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

View raw message