html - ng-click() in a div behind another div -


i'm trying trigger ng-click in div behind div, , not working. have situation below:

enter image description here

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.

enter image description here


Comments

Popular posts from this blog

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -