Skip to content

Simple addon that allows content to be hidden on scrolling down and reappear on scrolling up.

License

Notifications You must be signed in to change notification settings

MartinMalinda/ember-hiding-menu

Repository files navigation

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}}

About

Simple addon that allows content to be hidden on scrolling down and reappear on scrolling up.

Resources

License

Stars

Watchers

Forks

Packages

No packages published