Issue
I'm simply trying to make an image clickable and execute function. Here is my code:
<button class="button button-stable button-clear" on-click="myFunction()">
<img src="image.png" >
</button>
But the function is not executing on the click event.
Solution
With angular you should use ng-click
.
try ng-click="myFunction()"
Answered By - Mike Feltman
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.