Skip to content

Commit

Permalink
Fix names of touch event listeners (yewstack#872)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlephAlpha authored and llebout committed Jan 20, 2020
1 parent ed020c5 commit 2b44f8e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/html/listener.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,11 @@ impl_action! {
}
}
}
touchcancel(event: TouchCancel) -> TouchCancel => |_, event| { event }
touchend(event: TouchEnd) -> TouchEnd => |_, event| { event }
touchenter(event: TouchEnter) -> TouchEnter => |_, event| { event }
touchmove(event: TouchMove) -> TouchMove => |_, event| { event }
touchstart(event: TouchStart) -> TouchStart => |_, event| { event }
ontouchcancel(event: TouchCancel) -> TouchCancel => |_, event| { event }
ontouchend(event: TouchEnd) -> TouchEnd => |_, event| { event }
ontouchenter(event: TouchEnter) -> TouchEnter => |_, event| { event }
ontouchmove(event: TouchMove) -> TouchMove => |_, event| { event }
ontouchstart(event: TouchStart) -> TouchStart => |_, event| { event }
}

/// A type representing data from `oninput` event.
Expand Down

0 comments on commit 2b44f8e

Please sign in to comment.