On 11/22/16, 4:15 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" <carlos.rov...@gmail.com on behalf of carlosrov...@apache.org> wrote:
>2016-11-22 22:56 GMT+01:00 Alex Harui <aha...@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... IMO, if you don't need selection, you should just create a new base class that wraps UL and OL. HTH, -Alex