Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

angular-collapse

soniankur14mit0.0.5TypeScript support: included

The idea is to give consumers of the component, all the control to modify content & behavior. Core and only feature of the collapsible is to expand and collapse. ##### click the header to expand or collapse

collapse, angular-collapse, angular collpasible, angular 2 collapse

readme

angular-collapse

The idea is to give consumers of the component, all the control to modify content & behavior. Core and only feature of the collapsible is to expand and collapse.

click the header to expand or collapse

Installation

npm install angular-collapse --save

Requirements

  • Angular 2+

Usage

in app.module.ts

import { AngularCollapseModule } from 'angular-collapse';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    AngularCollapseModule  // <== here ==>

  ],
  providers: [],
  bootstrap: [AppComponent]
})

Usage

<lib-angular-collapse>
      <div header> this is header</div>
      <div body> this is body</div>
</lib-angular-collapse>

//, as you can see the whole control, is with the consumer.
// customize from here on..
// happy coding 

License

MIT