An open API service indexing awesome lists of open source software.

https://github.com/ionic-team/ionic-ion-header-shrink

A demo of making a header that shrinks based on the user scrolling (like Facebook's iOS app).
https://github.com/ionic-team/ionic-ion-header-shrink

Last synced: 2 months ago
JSON representation

A demo of making a header that shrinks based on the user scrolling (like Facebook's iOS app).

Awesome Lists containing this project

README

          

Ionic Ion Header Shrink
===========================

An Ion for making a header that shrinks based on the user scrolling (like Facebook's iOS app).

To use this, add a `` and a ``. Add the `header-shrink` attribute to the `` element:

```html




Things

```

It's also useful to add an empty spacer element inside the content to make sure it doesn't go up under the bar:

```html

```

Also make sure to include the `ionic.ion.headerShrink` angular module in your app.

Note, this should also work with an ``.