Jorge Ramirez
Jorge Ramirez

Reputation: 98

What is the difference between the v-list-group and v-list-item-group components of vuetify?

I'm trying to understand components for nesting items of a list but there's no explanation of the use case of v-list-group in the docs, just its API docs. I want to know when I should use each one.

Upvotes: 4

Views: 3883

Answers (1)

Carol Skelly
Carol Skelly

Reputation: 362630

Refer to the Vuetify docs...

"The v-list-item-group provides the ability to create a group of selectable v-list-items. The v-list-item-group component utilizes v-item-group at its core to provide a clean interface for interactive lists."

Basically it allows for stateful list items, whereas the v-list with v-list-group do not.

Upvotes: 4

Related Questions