This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

fixed-thead

1.0.5 • Public • Published

fixed-thead

npm version Build Status

fixed-thead is a simple library that fix the thead when window is scrolled.

Installation

  • npm: npm install --save fixed-thead

How to use

// basis
var fixedThead = new FixedThead('table');
 
// option
fixedThead = new FixedThead('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)
});
 
// property
fixedThead.enabled = false; // true or false

Readme

Keywords

Package Sidebar

Install

npm i fixed-thead

Weekly Downloads

1

Version

1.0.5

License

MIT

Last publish

Collaborators

  • sunya