ember-hiding-menu

0.2.1 • Public • Published

Ember-hiding-menu

Simple addon that allows content to be hidden on scrolling down and reappear on scrolling up. (By toggling a class).

DEMO: https://martinmalinda.github.io/ember-hiding-menu/

1) Install the addon

ember install ember-hiding-menu

2) Import SCSS

@import 'hiding-menu';

3) Use it

{{#hiding-menu throttleTime=200 topTolerance=50 bottomTolerance=20 class="my-menu"}}
  {{link-to "somewhere"}}
{{/hiding-menu}}
 
{{#hiding-menu class="bottom"}}
  This menu is fixed on bottom.
{{/hiding-menu}}

Readme

Keywords

Package Sidebar

Install

npm i ember-hiding-menu

Weekly Downloads

28

Version

0.2.1

License

MIT

Last publish

Collaborators

  • martinmalinda