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

https://github.com/samccone/slide-header

an IOS7 style menu
https://github.com/samccone/slide-header

Last synced: 3 months ago
JSON representation

an IOS7 style menu

Awesome Lists containing this project

README

          

Slide Header
==============

A modern modular header for your site

##[demo](http://samccone.github.io/slide-header/demo/index)

####Using with angular
* include both the directive and slide-header.js file on your site
* add 'slide-header' as a dependency.
* add an attribute on one of your nodes of `slide-header`
* profit!

####API

```js
var slideHeader = new SlideHeader(document.querySelectory('header'), {options});

//with jquery
var slideHeader = new SlideHeader($('header')[0], {options});
```

#### Options

```js
mouseTrigger: //default true
```

#### API
```js
.destroy() //removes all events and shows the header
.showHeader()
.hideHeader()
```

####Developing

```npm install```

```cake build```