html - ng-click() in a div behind another div -
i'm trying trigger ng-click in div behind div, , not working. have situation below:
in situation, want trigger ng-click on yellow circle when clicked, have div above yellow circle, div folded corner image. how can trigger ng-click() in div container of yellow circle?
you create empty span element attach event
<div class="green-box"> <span class="yellow-number" ng-click="action()"></span> </div>
adding css green-box position relative , span.yellow-number positions absolute.
Comments
Post a Comment