Vue Collapse Component API

Collapse API

Explore the API reference for the Vue Collapse component and discover how to effectively utilize its props for customization.

On this page

CCollapse

jsx
import { CCollapse } from '@coreui/vue-pro'

Props

PropertyDefaultType
horizontal-boolean

Set horizontal collapsing to transition the width instead of height.

visible-boolean

Toggle the visibility of component.

Events

Event name
hide

Callback fired when the component requests to be hidden.

show

Callback fired when the component requests to be shown.