sublime-scroll
sublime-scroll copied to clipboard
Detect Changes in DOM
It would be nice if changes in DOM were detected and scroll automatically updated.
http://www.youtube.com/watch?v=eRZ4pO0gVWw
+1
that would be great, but also difficult to do with good performance
Just for now I'd like to be able to manually re-initialize. Assume that I insert an image on the page. I want to call scroller.#someMethod to execute the same process that created the scroller when it was first initialized. I've tried destroy, update, etc, but nada. How do you completely destroy the instance and create a brand new one that takes a fresh view on the page?
I haven’t actually tested that. Let me know if you find something out. If the destroy method isn’t working, do me a favour and create a ticket :)
On 29 Oct 2014, at 01:32, Sandro Pasquali [email protected] wrote:
Just for now I'd like to be able to manually re-initialize. Assume that I insert an image on the page. I want to call scroller.#someMethod to execute the same process that created the scroller when it was first initialized. I've tried destroy, update, etc, but nada. How do you completely destroy the instance and create a brand new one that takes a fresh view on the page?
— Reply to this email directly or view it on GitHub.