jquery.stickOnScroll icon indicating copy to clipboard operation
jquery.stickOnScroll copied to clipboard

Enhancement: Provide a .destroy() method for the widget

Open purtuga opened this issue 10 years ago • 0 comments

Provide a way for the widget to be destroyed on a given element, in order to ensure that instances that were applied to dynamic viewports (ex. page Dialog widgets) can be removed by the callee explicitly.

Alternative? As an alternative, also look into periodically run through the set of viewports and remove all bound instances if the viewport is not longer in DOM. This approach could be dangerous, since user could have detach() element from DOM temporarily.

purtuga avatar Sep 27 '14 16:09 purtuga