Collapse
An easy way to toggle what you want
Base
Show code
Accordion
Show code
Class props
| Class prop | Description | Props | Suffixes | |
|---|---|---|---|---|
| contentClass | Class of the content. | |||
| rootClass | Class of the root element. | |||
| triggerClass | Class of the trigger element. |
Props
| Prop name | Description | Type | Values | Default |
|---|---|---|---|---|
| animation | Custom animation (transition name) | string | - | From config collapse: { |
| ariaId | string | - | '' | |
| open | Whether collapse is open or not, v-model:open to make it two-way binding | boolean | - | true |
| override | boolean | - | ||
| position | Trigger position | string | top, bottom | 'top' |
Events
| Event name | Properties | Description |
|---|---|---|
| update:open | ||
| open | ||
| close |
Slots
| Name | Description | Bindings |
|---|---|---|
| trigger | ||
| default |
Style
| CSS Variable | SASS Variable | Default |
|---|
Oruga