fixed-thead
fixed-thead is a simple library that fix the thead when window is scrolled.
Installation
- npm:
npm install --save fixed-thead
How to use
// basisvar fixedThead = 'table'; // optionfixedThead = 'table' offsetLeft: 0 // px only(default is 0) offsetTop: 50 // px only(default is 0) enabled: false // boolean(default is true) zIndex: 1234 // integer(default is 9999); // propertyfixedTheadenabled = false; // true or false