Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/dubbs/branchee
- Owner: dubbs
- Created: 2014-11-11T23:29:04.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-09-05T21:06:59.000Z (over 7 years ago)
- Last Synced: 2025-01-18T06:10:08.134Z (26 days ago)
- Language: CSS
- Homepage:
- Size: 43.9 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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
```