tux-autohide

Hide and show fixed elements when scrolling.

Usage no npm install needed!

<script type="module">
  import tuxAutohide from 'https://cdn.skypack.dev/tux-autohide';
</script>

README

TUX AutoHide

Hide and show fixed elements when scrolling.

Usage

  • jQuery plugin: $.fn.autoHide
  • Data attribute: <div tux-autohide></div>
  • Javascript: var AutoHide = require('tux-autohide');new AutoHide(el, options);

License

MIT © Aranja