In Angular2, I have the following markup in my template (uses Font Awesome 
with Bootstrap):

<button class="btn btn-primary" (click)="getDataHandler()" ><span class="fa 
fa-bicycle fa-lg"></span> Get Data</button>


Problem is that if I click on the Font Awesome bicycle glyph (the <span>), the 
click event does not fire and the getDataHandler() is not being called. I get 
the event if I click on the text part of the button however. I wouldn't expect 
this. Am I doing something wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to