Skip to content

v1.1

Latest
Compare
Choose a tag to compare
@mikestreety mikestreety released this 27 Nov 19:04
· 1 commit to master since this release

This release features several updates & improvements to the codebase:

  • Include an option to have a class when the element is stuck - param name of stickyClass
  • Add an inline width to the element of it's parent when stuck
  • Check the height of the window - if it is less than the height of the sticky item, the plugin does not fire
  • Trigger the plugin on page load
  • Trigger the plugin on resize of the window