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
Post a Comment