IMO, there is no right answer and there doesn't really need to be.  There
can be many variants of Tabs and TabBars in a component set.  Folks will
choose the right one for their needs if properly documented.

My 2 cents,
-Alex

On 1/3/17, 3:56 AM, "piotrz" <piotrzarzyck...@gmail.com> wrote:

>Hi,
>
>I've started to think about dataProvider+itemRenderer API in Tabs, TabBar.
>Our current code in example look like -> https://paste.apache.org/X8cL
>
>I see following options:
>
>1) Add to "Tabs" following properties
>- dataProvider
>- tabsRenderer
>- tabBarButtonRenderer
>
>"Tabs" view will generate all subcomponents.
>
>2) Add to "Tabs" properties
>- dataProvider
>- tabsRenderer
>Add to "TabBar" properties
>- dataProvider
>- tabBarButtonRenderer
>
>Generated TabBar with TabBarButtons will have be at some point connected
>with TabBarPanel - I think it should be achieved by VO in dataProviders.
>
>Any thoughts to which path I should go ?
>
>Piotr
>
>
>
>-----
>Apache Flex PMC
>piotrzarzyck...@gmail.com
>--
>View this message in context:
>http://apache-flex-development.2333347.n4.nabble.com/FlexJS-MDL-Discuss-Ta
>bs-TabBar-with-dataProvider-itemRenderer-API-tp57816.html
>Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply via email to