The valid selections are mouseup, scroll, and blur. A < canvas > element is represented by HTMLCanvasElement, which inherits from HTMLElement; therefore, it participates in the normal DOM event model for element-based interaction. mouseup is valid because it is fired on an Element when a pointing-device button is released while the pointer is over that element, which is a common canvas interaction pattern for drawing tools, games, drag tracking, and selection behavior. scroll is valid as an element event when an element is scrolled, and the HTML event-handler index lists onscroll for HTML elements. blur is also valid because it fires when an element loses focus; a canvas can participate in focus workflows, particularly when made focusable with attributes such as tabindex. play is excluded in this certification context because it is a media playback event associated with HTMLMediaElement behavior, not canvas graphics interaction. datareceived is not a standard HTML canvas or DOM event. References/topics: canvas DOM interaction, element event listeners, mouse events, focus events, scroll events.
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit