<template>
<w-collapse open padding="small" indent>
<div slot="header">
<w-text type="subSectionHeading">
Services
</w-text>
</div>
<div slot="panel">
<w-text>
Lorem ipsum dolor sit, amet consectetur adipisicing elit. omnis doloribus ea alias.
</w-text>
<w-text>
Reiciendis modi laborum eaque temporibus non voluptates, sequi nihil repudiandae,
tenetur consequatur
</w-text>
<w-text>Perspiciatis nobis fuga corporis reprehenderit sed!</w-text>
</div>
</w-collapse>
</template>
Props
|
Name |
Description |
Type |
Default |
Values |
|---|---|---|---|---|
|
divider |
Shows a divider at the bottom of the collapse component. |
boolean |
false |
false, true |
|
indent |
Indents the collapse content. |
boolean |
false |
false, true |
|
model-value |
Controls whether the collapse is open or not. |
boolean |
false |
false, true |
|
padding |
Controls the padding of the collapse component. |
string |
medium |
none, small, medium |
Slots
|
Name |
Description |
|---|---|
|
header |
The header slot can contain a heading or a more complex content snippet. |
|
panel |
The panel that holds the collapsed content. |
Events
|
Name |
Description |
Type |
|---|---|---|
|
update:modelValue |
Emitted when the collapse is toggled. |
{ "names": [ "Boolean" ] } |