-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
CollapseExamples.vue
37 lines (28 loc) · 1.05 KB
/
CollapseExamples.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<template>
<div>
<div class="mb-4 col-4">
<h2>Collapse</h2>
<p>
<a class="btn btn-primary" data-bs-toggle="collapse" href="#collapseExample" role="button" aria-expanded="false" aria-controls="collapseExample">
Link with href
</a>
<button class="btn btn-primary" type="button" data-bs-toggle="collapse" data-bs-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">
Button with data-bs-target
</button>
</p>
<div v-vb-is:collapse="{toggle: false}" class="collapse" id="collapseExample">
<div class="card card-body">
Some placeholder content for the collapse component. This panel is hidden by default but revealed when the user activates the relevant trigger.
</div>
</div>
</div>
</div>
</template>
<script>
export default {
name: 'CollapseExamples',
methods: {
//
}
}
</script>