mutation observers - Is there a way to detect which MutationObserver a callback was called from? -


if have single callback function , 2 mutationobservers 2 different dom nodes, there way tell observer triggered callback when called? work callback needs perform substantially similar, creating 1 each observer seems undesirable.

the specific mutationobserver supplied 2nd argument callback. see mdn documentation.


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -