sublime-scroll icon indicating copy to clipboard operation
sublime-scroll copied to clipboard

Detect Changes in DOM

Open demux opened this issue 11 years ago • 4 comments

It would be nice if changes in DOM were detected and scroll automatically updated.

demux avatar Dec 08 '13 18:12 demux

http://www.youtube.com/watch?v=eRZ4pO0gVWw

ghost avatar Mar 08 '14 16:03 ghost

+1

that would be great, but also difficult to do with good performance

alp82 avatar Mar 29 '14 13:03 alp82

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?

sandro-pasquali avatar Oct 29 '14 00:10 sandro-pasquali

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.

demux avatar Oct 29 '14 01:10 demux