sticky-js icon indicating copy to clipboard operation
sticky-js copied to clipboard

how use destroy?

Open vezhevich opened this issue 6 years ago • 1 comments

$(window).on('load ready resize', function () { sticky = new Sticky('#sticker'); });

vezhevich avatar Jun 25 '18 08:06 vezhevich

Have you tried this?

var sticky = new Sticky('.sticky');

sticky.destroy();

See: https://github.com/rgalus/sticky-js#methods

jhadenfeldt avatar Jul 13 '18 16:07 jhadenfeldt