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