type 

イベントタイプを返します。ondragdrop,onmouseup,onmousedow,onkeydown,onkeyup,onkeypressの文字を返しますのでイベントタイプによって分岐させる事もできます。

書式

event.type