0.2.3 • Published 6 years ago
ionic-scrolling-header v0.2.3
ionic-scrolling-header
An angular directive to make the header hide with scrolling
Usage
npm install ionic-scrolling-header --save
add to your module
import {ScrollingHeaderModule} from 'ionic-scrolling-header';
add
@ViewChild(Content) content: Content;
in your componentand add in your template
<ion-header [scrollingHeader]='content'>
<ion-navbar>
<ion-title>
Contact
</ion-title>
</ion-navbar>
</ion-header>
- :) good to go