vendredi 4 octobre 2019

How to wrap handlebars expression in span tag, and make span tag clickable?

The datePick string is a computed property inside a button, you can click on datePick value to trigger an event, but clicking outside the datePick value inside the button does not trigger the event.

I tried wrapping it inside a span and giving width: 100% but still it is not clickable

<span>
      
</span>

I want it to occupy whole space inside a button and make it clickable everywhere.




Aucun commentaire:

Enregistrer un commentaire