javascript - can I attach event listeners to canvas events? -


i'd know if it's possible if there canvas tag in html i'd attach event listener each time it's programmed draw callback function increment value or something

ah found it! needed mutationobserver , going through addednodes list returns search canvas node fyi in future here resource: https://developer.mozilla.org/en-us/docs/web/api/mutationobserver


Comments

Popular posts from this blog

xml - Extract substrings with XSLT -

math - "ELO Rating" and how does "TSR Rating" work? -

How can do a tuple comparison in coffeescript similar to that in python? -