mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
Fix touch events (#656)
This commit is contained in:
parent
1375714339
commit
567a945ba1
@ -46,11 +46,11 @@ lazy_static! {
|
|||||||
m.insert("onmousewheel", "MouseWheelEvent");
|
m.insert("onmousewheel", "MouseWheelEvent");
|
||||||
m.insert("onmouseover", "MouseOverEvent");
|
m.insert("onmouseover", "MouseOverEvent");
|
||||||
m.insert("onmouseup", "MouseUpEvent");
|
m.insert("onmouseup", "MouseUpEvent");
|
||||||
m.insert("touchcancel", "TouchCancel");
|
m.insert("ontouchcancel", "TouchCancel");
|
||||||
m.insert("touchend", "TouchEnd");
|
m.insert("ontouchend", "TouchEnd");
|
||||||
m.insert("touchenter", "TouchEnter");
|
m.insert("ontouchenter", "TouchEnter");
|
||||||
m.insert("touchmove", "TouchMove");
|
m.insert("ontouchmove", "TouchMove");
|
||||||
m.insert("touchstart", "TouchStart");
|
m.insert("ontouchstart", "TouchStart");
|
||||||
m.insert("ongotpointercapture", "GotPointerCaptureEvent");
|
m.insert("ongotpointercapture", "GotPointerCaptureEvent");
|
||||||
m.insert("onlostpointercapture", "LostPointerCaptureEvent");
|
m.insert("onlostpointercapture", "LostPointerCaptureEvent");
|
||||||
m.insert("onpointercancel", "PointerCancelEvent");
|
m.insert("onpointercancel", "PointerCancelEvent");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user