Add an abortable listener
This example demonstrates how to add an addEventListener() that can be aborted with an AbortSignal.
HTML
HTMLPlayCopy to Clipboard
<table id="outside">
<tr>
<td id="t1">one</td>
</tr>
<tr>
<td id="t2">two</td>
</tr>
</table>
JavaScript
JSPlayCopy to Clipboard
// Add...