shama / on-load

On load/unload events for DOM elements using a MutationObserver
113 stars 19 forks source link

Pass element reference to callbacks #8

Closed timwis closed 8 years ago

timwis commented 8 years ago

Closes #7 without keeping the element reference around. Please take a close look as I haven't worked with mutation observers before, but this looks like it does the trick!

shama commented 8 years ago

👍