<div class="header-panel member">
<h2><span class="identifier">IEventHandler</span> Interface</h2>
<dl class="dl-horizontal">
<dt>File</dt><dd class="filename">wijmo.js</dd>
<dt>Module</dt><dd><a href="topic/wijmo.Module.html"><span class="identifier">wijmo</span></a></dd>
</dl>
<div class="comment"><p>Represents an event handler.</p>
<p>Event handlers are functions invoked when events are raised.</p>
<p>Every event handler has two arguments:
<ul>
  <li><b>sender</b> is the object that raised the event, and</li>
  <li><b>args</b> is an optional object that contains the event parameters.</li>
</ul></p>
<p>The example below shows how you can add event handlers to Wijmo events:</p>
<p><div class="member-panel example"><h3 class="node collapsed">Example</h3><div class="fiddle"><script async src="https://jsfiddle.net/Wijmo5/9tkuuf5t/embed/result,html,js,css"></script></div></div></p></div>
</div>
<div class="member-panel class members" ng-class="{ 'show-inherited' : ctx.showInherited, 'show-raisers' : ctx.showRaisers }">
</div>
