lf-collapser
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

LfCollapser

This library was generated with Angular CLI version 8.2.14.

Implementation

import the LfCollapserModule in your module

import { LfCollapserModule } from 'lf-collapser';

@NgModule({ declarations: [ ... ], imports: [ LfCollapserModule ] })

Component implementation

Use the #toggler identifier on the toggler html element

<div class="card highlight-card card-small" #toggler >Toggler</div>

and pass the toggler to the lf-collapser tag

<lf-collapser [toggle]="toggler" > Content here! </lf-collapser>

Demo

Clone the repo and check the demo for implementation example.

Readme

Keywords

none

Package Sidebar

Install

npm i lf-collapser

Weekly Downloads

1

Version

1.0.1

License

none

Unpacked Size

75.6 kB

Total Files

30

Last publish

Collaborators

  • luis_hdez87