Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/dubbs/branchee

Branchee is a lightweight mobile navigation plugin with built in transitions.
https://github.com/dubbs/branchee

Last synced: 11 days ago
JSON representation

Branchee is a lightweight mobile navigation plugin with built in transitions.

Awesome Lists containing this project

README

        

Branchee is a lightweight mobile navigation plugin with built in transitions. The menu is generated from a basic unordered list.

## Menu

For the menu, wrap an unordered list with `.branchee-menu` and that with `branchee-theme-XXX`.

```html


```

## Toggle

For the toggle, add a link to the page with `.branchee-toggle-menu` and whatever theme you are using.

```html
Toggle
```

## Plugin

Initialize the plugin by referencing the menu you created above

```js
$('#menu-1').branchee({
onAfterInit: function () {
this.toggleOpen();
}
});
```

## Development

```bash
npm install
npm run watch-scss
```