"article-title">
      <h1>
        
      </h1>

        <a href="https://github.com/ember-learn/guides-source/edit/master/guides/v1.12.0/routing/sending-events-from-templates.md" target="_blank" class="edit-page" rel="noopener">
          <img class="edit-icon" src="/images/pen.svg" alt="Edit pencil">
        </a>
    </div>
    <hr>

    <div id="ember35809" class="ember-view"><p>Use the <code>{{action}}</code> helper to attach a handler on a component to an event triggered on an element.</p>
<p>To attac