I created a small mouse event prototype for Angular, do with it what you want...
https://github.com/mdolk/angular.js/commits/mouse-events
It does two things:
1. It adds event handlers for mousedown, mouseup, dblclick, mouseover,
mouseout same way as ng:click
2. Support for capturing the event object. You can write <div
ng:click="e ! doSomething(e)"></div>. The ! syntax is inspired by the
bang operator from actor libraries. (My current implemention puts e in
scope temporary when running the expression, ugly...)
Left to think about is event propagation.
What are your plans regarding supporting more events, is that
something we will see before 1.0?
Cheers!
/Mårten
Milestone marked as post v1.0 :-)
/mårten
2011/8/29 Mårten Dolk <marte...@gmail.com>:
I understand the Angular guys have enough on their plate before 1.0
and I don't want to add to that. I had an itch to scratch.
/mårten
2011/8/30 Rusco <j.re...@gmail.com>:
> --
> You received this message because you are subscribed to the Google Groups "angular" group.
> To post to this group, send email to ang...@googlegroups.com.
> To unsubscribe from this group, send email to angular+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/angular?hl=en.
>
>