jquery-sticky-table-header
Advanced tools
Comparing version 0.1.1 to 0.1.2
/*! | ||
* jquery-sticky-table-header | ||
* 0.1.0 | ||
* 0.1.2 | ||
* Requires jQuery 1.12.0+ | ||
@@ -71,4 +71,3 @@ * https://github.com/simonsmith/jquery.stickyTableHeader/ | ||
StickyTableHeader.setCloneCellWidths(this.$header, cellWidths), this.$header.prependTo(this.$container), | ||
this.$tableChildren.css("visibility", "hidden"), this.$container.css("position", "relative"), | ||
this.attachScrollEvent(); | ||
this.$container.css("position", "relative"), this.attachScrollEvent(); | ||
} | ||
@@ -104,3 +103,3 @@ } | ||
value: function(message) { | ||
console.error("StickyTableHeader: + " + message); | ||
console.error("StickyTableHeader: " + message); | ||
} | ||
@@ -107,0 +106,0 @@ }, { |
{ | ||
"name": "jquery-sticky-table-header", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"main": "build/jquery.stickyTableHeader.js", | ||
@@ -5,0 +5,0 @@ "author": "Simon Smith", |
@@ -75,2 +75,6 @@ # jquery.stickyTableHeader | ||
It's recommended that you apply a background colour to the header to mask the | ||
real table header beneath it. This is so that the table effectively looks | ||
unchanged to a screen reader. | ||
## Options | ||
@@ -80,8 +84,5 @@ | ||
larger than the viewport _default_ `true` | ||
* **scrollThrottle** - _(number)_ Maximum number of times the scroll handler | ||
can be called over time in milliseconds _default_ `50` | ||
* zIndex - _(number)_ Added to the header to control stacking _default_ `2` | ||
* **zIndex** - _(number)_ Added to the header to control stacking _default_ `2` | ||
* **css** _(object)_ Classes applied to the HTML structure | ||
@@ -88,0 +89,0 @@ * **header** _(string)_ - Added to the header that scrolls with the table _default_ `StickyTableHeader` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
97
0
318651
9
195