Hi all,

when passing the $event object, the targeted element is available but not 
the "listening" element :

<div ng-click="foo($event)"> <span>bla bla</span></div>

--> click on "bla bla"

$event contains :

   1. target: span
   2. srcElement: span
   
   3. toElement: span

 
But I couldn't figure out any way to get the div. Passing "this" doesn't 
work, I get something ressembling the current scope.

Is there any way to get that listening element ?

thanks

-Olivvv



-- 
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/groups/opt_out.

Reply via email to