ion-collapse-header
TypeScript icon, indicating that this package has built-in type declarations

0.0.9 • Public • Published

IonCollapseHeader

This directive collapse header in ionic 4 with the scroll content.

Installing

Run npm i ion-collapse-header.

Quickstart

Import ion-collapse-header in you module page.

// Import the module
import { IonCollapseHeaderModule } from 'ion-collapse-header';
...
@NgModule({
    (...)
    imports: [
        IonCollapseHeaderModule
    ],
    (...)
})
export class PageModule {}

Usage

Then, just define collapse-haeder in the tag ion-content.

 <ion-header #header></ion-header>
 <ion-content collapse-header [header]="header" [scrollEvents]=true></ion-content>

Package Sidebar

Install

npm i ion-collapse-header

Weekly Downloads

8

Version

0.0.9

License

MIT

Unpacked Size

88.7 kB

Total Files

17

Last publish

Collaborators

  • leo1305pineda