k</td>
</tr>
<tr>
<td><code>thisArg</code></td>
<td><code>any</code></td>
<td>No</td>
<td>An object to bind to the <code>this</code> keyword in the callback function</td>
</tr>
<tr>
<td><strong>returns</strong></td>
<td><code>Event -&gt; undefined</code></td>
<td></td>
<td>An event handler function</td>
</tr>
</tbody>
</table>
<p><a href="signatures.html">How to read signatures</a></p>
<hr>
<h3 id="how-it-works">How it works</h3>
<p>The <code>m.withAttr</code> method creates an event handler. The event hand