Skip to content

An angular directive to make the header hide with scrolling

Notifications You must be signed in to change notification settings

keephacking/ionic-scrolling-header

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 component

  • and add in your template

<ion-header [scrollingHeader]='content'> <ion-navbar> <ion-title> Contact </ion-title> </ion-navbar> </ion-header>

  • :) good to go

Demo

Plugin preview

About

An angular directive to make the header hide with scrolling

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published