ionic-scrolling-header
TypeScript icon, indicating that this package has built-in type declarations

0.2.3 • Public • Published

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

For Demo Check Here

Plugin preview

Readme

Keywords

none

Package Sidebar

Install

npm i ionic-scrolling-header

Weekly Downloads

11

Version

0.2.3

License

MIT

Unpacked Size

225 kB

Total Files

26

Last publish

Collaborators

  • keephacking