flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Rovira <carlosrov...@apache.org>
Subject Re: [FlexJS] List Structure
Date Wed, 23 Nov 2016 00:15:23 GMT
2016-11-22 22:56 GMT+01:00 Alex Harui <aharui@adobe.com>:

> I just remembered that there are two kinds of "lists" in HTML.  There is
> the Select element which has a selection model, and then there is ol/ul
> which has no selection model.  What kind of list is MDL's list?  Does it
> support selection?
>
> IMO, ol/ul are for displaying a list of items without a selection model.
> There is no promise that the children are the same.  One <li> tag may have
> a completely different topology of child tags than the next <li> tag.
>
>
You're right Alex, MDL is second, UL with LI items, with no selection
model, at least for what I see in the examples,
selection seems to be in Table component...


> AIUI, the Select element only supports plain text renderers.  SimpleList
> was intended to wrap that.  The other List provides the basis of a List
> with data providers, factories and item renderers.
>
>
So is clear I don't want SimpleList, maybe List...


>
> Maybe you want to subclass DataGroup.
>
>
That sounds like a plan...I'll try that tomorrow


>
> I think the View can already do this so there is no limitation.
>
>
Good, I would check View concepts in flexjs, since right now I don't see
how to do it. If I can't get it I return to you since I think this is
important for me when trying to get right MDL constructs.

Thanks, this helps me a lot :)

-- 
Carlos Rovira
http://about.me/carlosrovira

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message