scrollup-header

2.3.1 • Public • Published

ScrollUp Header npm

Domodule Library to show a header on scroll up on mobile devices.

Installation

npm i scrollup-header

Usage

Use the CSS that's shown on the example and customise to your needs.

<body>
 <header class="scrollup-header" data-module="ScrollupHeader" data-module-match="(max-width: 767px)">
   <h1>My header</h1>
 </header>
 
 ... content
</body>

Readme

Keywords

Package Sidebar

Install

npm i scrollup-header

Weekly Downloads

7

Version

2.3.1

License

MIT

Unpacked Size

35.8 kB

Total Files

6

Last publish

Collaborators

  • alaguna
  • aleperez92
  • dawnerd
  • ecwillis
  • jga
  • orthagonal1