I am currently using Bootstrap-vue and have implemented a simple collapse component to toggle the visibility of content. My goal now is to find a way to incorporate an arrow icon in the toggle button that can signify the state of the collapse: pointing down when the content is open, and pointing sideways when it is closed.
I came across a solution on Stack Overflow for Bootstrap 4, but I encountered challenges adapting it to Bootstrap-vue due to differences in the markup elements. With the given markup below, how can I go about adding the collapse state arrow?
<div>
<b-btn v-b-toggle.collapse3 class="m-1">Toggle Collapse</b-btn>
<b-collapse visible id="collapse3">
<b-card> some content </b-card>
</b-collapse>
</div>