>
<p>In the above component, <code>didDrop</code> is the <code>action</code> passed in. This action is
called from the <code>drop</code> event handler and passes one argument to the action -
the <code>id</code> value found through the <code>drop</code> event object.</p>
<p>Another way to preserve native event behaviors and use an action, is to
assign a (closure) action to an inline event handler. Consider the
template below which includes an <code>onclick</code> handler on a <code>button</code> element:</p>