On this page
Angular Collapse Component
Angular Collapse directive toggles the visibility of content across your project with a few classes and some scripts. Useful for a large amount of content.
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
```typescript
import { CollapseModule } from '@coreui/angular';
@NgModule({
imports: [CollapseModule,]
})
export class AppModule() { }
```
|prop|description|type|default|
|---|:---|:---|:---|
|`visible`|Toggle the visibility of collapsible element|`boolean`|_false_
|`horizontal`|Set horizontal collapsing to transition the width instead of height.|`boolean`|_false_
|`navbar`|Add `navbar` prop for grouping and hiding navbar contents by a parent breakpoint|`boolean`|_false_
##### Outputs
|prop|description|type|values|
|---|:---|:---|:---|
|`collapseChange`|Event emitted on visibility change|`string`|`opening, open, collapsing, collapsed`