Using that approach can you get a width of a clicked object or any other property?
Thanks On Sat, Nov 1, 2014 at 12:32 AM, Justin Walsh <[email protected]> wrote: > Hi Mark, > > How about using the $target of the event? > > For example: http://plnkr.co/edit/TJlbROcW8BISpD5LubkZ?p=preview > > Regards > Justin > > On Friday, October 31, 2014 9:58:19 PM UTC+2, mark goldin wrote: >> >> I m trying to implement a click and have code acting upon. >> My question is - how can I access the clicked object in my click handler? >> So far all I am getting is an html element or something. But I need a >> reference to an object. Like if a grid was clicked then I need to access >> its selected value and so forth. >> >> >> Thanks for help. >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "AngularJS" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/angular/N02VQDzVGGM/unsubscribe. > To unsubscribe from this group and all its topics, 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. > -- 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.
