Event#inRange feature
Reported by MadRabbit | December 22nd, 2009 @ 06:45 PM | in 1.5.2 Release
I'd love to have another fancy method for events, that will check that the event happened while the mouse was over an element
kinda like that
clone.onMouseout(function(event) {
var dims = this.dimensions(); if (event.pageX < dims.left ||
event.pageX > (dims.left + dims.width - offset/2) ||
});
Comments and changes to this ticket
-
MadRabbit December 22nd, 2009 @ 06:47 PM
darn ya!
clone.onMouseout(function(event) { var dims = this.dimensions(); if (event.pageX < dims.left || event.pageX > (dims.left + dims.width) || event.pageY < dims.top || event.pageY > (dims.top + dims.height)) // do it here });
-
MadRabbit December 25th, 2009 @ 07:59 PM
- State changed from new to resolved
I named it Event#over which is shorter
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
RightJS Core Tickets