jeudi 4 octobre 2018

can i assign a click event or on a whole Ember component?

i have an Ember component with tagName:'li'

The template looks like so:

<div> title</div> <div> image </div> <div> text </div>

The outcome is <li> blocks of the above elements, like so:

<li id="ember2484" class="..."> <div>...</div> <div>...</div> <div>...</div> </li>

I need to make the <li> clickable somehow, because i have a link url that i want to assign to each <li> element.

Is that possible, to make

  • clickable ?



Aucun commentaire:

Enregistrer un commentaire