If at any point in time you want to disable of the sticky header, you can do it with destroy() method, as shown below. It will remove all event listeners StickyHeader set up when initialized. const ...
In This repository I tried to make a website's header section step by step using HTML, CSS and JavaScript. I make the toggle button using JavaScript that will hide and show the light images on this ...