class Drag { drop = drop_handler; dragover = dragover_handler; dragstart =dragstart_handler; dragend = dragend_handler; ...