Skip to content

Commit

Permalink
change drag event interface back to DragEvent (#1254)
Browse files Browse the repository at this point in the history
  • Loading branch information
siku2 authored May 21, 2020
1 parent 02b22d1 commit 56979ca
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions yew/src/html/listener/listener_web_sys.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down Expand Up @@ -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 }
Expand Down

0 comments on commit 56979ca

Please sign in to comment.