Finding the hovered element

Say for example, we have a list of items. When I hover over a li, I want to receive the node of the element being hovered. How to do this the ember way?

Here’s a toy example:

  <li id="list-element" onmouseenter={{action "doTheThing"}}>Hi, Mom!</li>



actions: {
  doTheThing(event): {
    console.assert( === 'list-element'); 

See Handling Events, Sending Events for reference.


Works like a charm. Thank you! @zachgarwood