include.plugins('controller/dragdrop') TasksController = MVC.Controller.extend('tasks',{
".handle dragstart" : function(params){
//set something else to be dragged instead of this object
params.representitive(MVC.$E('dragitem'), 15, 15);
params.revert();
},
".handle dragging" : function(params){
},
".handle dragend" : function(params){
}
}
Matches "(.*?)\\s?(dragstart|dragend|dragging)$"
init(action_name, callback, className, element, f, controller) -> undefined
{String} - the name of the function
{} -
{} -
{} -
{Function} - the function itself
{MVC.Controller} - the controller this action belongs to
mousedown(element, params) -> undefined
{} -
{} -