angular_components icon indicating copy to clipboard operation
angular_components copied to clipboard

Expand/collapse items in MaterialListComponent

Open muzuro opened this issue 5 years ago • 1 comments

Is it possible to expand/collapse items in MaterialListComponent? I have noticed there is mentioning in https://dart-lang.github.io/angular_components/#/material_list

If the material-list-item has a DropdownHandle in its ancestry, the dropdown will be closed on triggering (i.e. clicking or pressing enter/space on) the list item if closeOnActivate is true.

Does it mean I can create parent item and expand/collapse nested elements? Can you guys share an example if it is possible?

muzuro avatar Aug 17 '20 18:08 muzuro

Related question on Stackoverflow https://stackoverflow.com/questions/63456561/is-it-possible-to-expand-collapse-items-in-materiallistcomponent?noredirect=1#comment112331672_63456561

lejard-h avatar Aug 26 '20 17:08 lejard-h