domonic
domonic copied to clipboard
MutationObserver
While answering a question on stackoverflow today i realised that domonics mutationobserver is still commented out as TODO but also querySelectorAll is supposed to be 'not live'...
https://stackoverflow.com/questions/69975232/track-changes-within-dom-element-with-mutationobserver-python/69987634?noredirect=1#comment123721040_69987634
I have a feeling ours will be live. so should be returning node copies instead? It may not be and passing by value so I'll have to check.
If anyone is keen to dev this bit up then take it away. Otherwise will leave as a ticket for now til i get time.
Already implemented this in my fork, I'll submit a PR soon..
Hi @7HR4IZ3 thanks for this. I had a quick look but didn't see any unit tests and I've been a little busy lately so will check soon as possible. I'm really grateful for the work. I know it was a big chunk of work so am grateful if you've managed to do it.