Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Expand/collapse items in MaterialListComponent #467

Open
muzuro opened this issue Aug 17, 2020 · 1 comment
Open

Expand/collapse items in MaterialListComponent #467

muzuro opened this issue Aug 17, 2020 · 1 comment

Comments

@muzuro
Copy link

muzuro commented Aug 17, 2020

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?

@lejard-h
Copy link
Contributor

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants