title: KnockoutJS: Handle event capture phase
body: <p>Let's consider the standard way to bind a generic event to a ViewModel method using KnockoutJS:</p>
  
  <pre><code>&lt;div data-bind="event: { mousedown: handler }"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>This code will add <code>handler</code> as a listener on the <code>mousedown</code> event to the <code>&lt;div&gt;</code>. As any other handler, it is attached to the target and bubble phase of the event.</p>
  
  <p>However, I don't see a way of attaching a handler to the <a href="http://www.quirksmode.org/js/events_order.html" rel="nofollow">capture phase</a> of an event without resorting to a manual call to <code>addEventListener</code> outside of the MVVM pattern provided by Knockout JS.</p>
  
  <p><strong>Is it possible to bind an handler to the event capture phase using <code>data-bind</code> in Knockout JS?</strong></p>