๐ฐ"click"
Last updated
Last updated
browser โฉ event โฉ type โฉ mouse โฉ "click"
After the "mouseup" event, a "click" event fires on the most specific node that contained both the press and the release of the button.
For example๏ผ "mousedown" on <p> #1, then "mouseup" on <p> #2, the "click"
event will happen on the parent that contains both <p>.
๐ compare๏ผElement+boxes