change drag event interface back to DragEvent
@@ -12,14 +12,14 @@ impl_action! {
oncontextmenu(name: "contextmenu", event: MouseEvent) -> web_sys::MouseEvent => |_, event| { event }
oncuechange(name: "cuechange", event: Event) -> web_sys::Event => |_, event| { event }
ondblclick(name: "dblclick", event: MouseEvent) -> web_sys::MouseEvent => |_, event| { event }
- ondrag(name: "drag", event: MouseEvent) -> web_sys::MouseEvent => |_, event| { event }
- ondragend(name: "dragend", event: MouseEvent) -> web_sys::MouseEvent => |_, event| { event }
- ondragenter(name: "dragenter", event: MouseEvent) -> web_sys::MouseEvent => |_, event| { event }
- ondragexit(name: "dragexit", event: MouseEvent) -> web_sys::MouseEvent => |_, event| { event }
- ondragleave(name: "dragleave", event: MouseEvent) -> web_sys::MouseEvent => |_, event| { event }
- ondragover(name: "dragover", event: MouseEvent) -> web_sys::MouseEvent => |_, event| { event }
- ondragstart(name: "dragstart", event: MouseEvent) -> web_sys::MouseEvent => |_, event| { event }
- ondrop(name: "drop", event: MouseEvent) -> web_sys::MouseEvent => |_, event| { event }
+ ondrag(name: "drag", event: DragEvent) -> web_sys::DragEvent => |_, event| { event }
+ ondragend(name: "dragend", event: DragEvent) -> web_sys::DragEvent => |_, event| { event }
+ ondragenter(name: "dragenter", event: DragEvent) -> web_sys::DragEvent => |_, event| { event }
+ ondragexit(name: "dragexit", event: DragEvent) -> web_sys::DragEvent => |_, event| { event }
+ ondragleave(name: "dragleave", event: DragEvent) -> web_sys::DragEvent => |_, event| { event }
+ ondragover(name: "dragover", event: DragEvent) -> web_sys::DragEvent => |_, event| { event }
+ ondragstart(name: "dragstart", event: DragEvent) -> web_sys::DragEvent => |_, event| { event }
+ ondrop(name: "drop", event: DragEvent) -> web_sys::DragEvent => |_, event| { event }
ondurationchange(name: "durationchange", event: Event) -> web_sys::Event => |_, event| { event }
onemptied(name: "emptied", event: Event) -> web_sys::Event => |_, event| { event }
onended(name: "ended", event: Event) -> web_sys::Event => |_, event| { event }
@@ -49,7 +49,7 @@ impl_action! {
onprogress(name: "progress", event: ProgressEvent) -> web_sys::ProgressEvent => |_, event| { event }
onratechange(name: "ratechange", event: Event) -> web_sys::Event => |_, event| { event }
onreset(name: "reset", event: Event) -> web_sys::Event => |_, event| { event }
- onresize(name: "resize", event: UiEvent) -> web_sys::UiEvent => |_, event| { event }
+ onresize(name: "resize", event: Event) -> web_sys::Event => |_, event| { event }
onscroll(name: "scroll", event: Event) -> web_sys::Event => |_, event| { event }
onsecuritypolicyviolation(name: "securitypolicyviolation", event: Event) -> web_sys::Event => |_, event| { event }
onseeked(name: "seeked", event: Event) -> web_sys::Event => |_, event| { event }
