Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #3583 (reopened enhancement)

Opened 2 years ago

Last modified 2 years ago

[PATCH] Draggable Event notification. OnHoverStart, onHoverEnd, onDrop

Reported by: rob.mayhew@gmail.com Assigned to: David
Priority: low Milestone:
Component: script.aculo.us Version: 1.0.0
Severity: normal Keywords:
Cc:

Description

Draggable's can now have event notification for onStartHover, onEndHover, and onDrop.

Example:

new Draggable('drag1',{

onHoverStart:function(ele, tar){

log("Hovering + ele.id + ? tar + tar.id + ?");

},

onHoverEnd:function(ele){

log("Not Hovering + ele.id + ?");

},

onDrop:function(ele,tar){

var tarId = "None"; if(tar)tarId = tar.id;

log("Dropped + ele.id + ? on + tarId + ?");

}

});

Attachments

drop_notification_and_new_hovering.diff (3.1 kB) - added by rob.mayhew@gmail.com on 01/23/06 21:24:52.
PATCH Draggable Event notification. OnHoverStart, onHoverEnd, onDrop

Change History

01/23/06 21:24:52 changed by rob.mayhew@gmail.com

  • attachment drop_notification_and_new_hovering.diff added.

PATCH Draggable Event notification. OnHoverStart, onHoverEnd, onDrop

01/23/06 21:27:26 changed by rob.mayhew@gmail.com

  • status changed from new to closed.
  • resolution set to fixed.

See [PATCH]

01/23/06 21:56:23 changed by madrobby

  • status changed from closed to reopened.
  • resolution deleted.
  • component changed from ActiveRecord to script.aculo.us.
  • summary changed from Draggable Event notification. OnHoverStart, onHoverEnd, onDrop to [PATCH] Draggable Event notification. OnHoverStart, onHoverEnd, onDrop.

Please don't close tickets before they made in or are otherwise "finished", or else I can't find them no longer... :)