🌰 added mobile events in the componentManager 🎪
This commit is contained in:
parent
4e8fb18212
commit
b2a8e3bf96
|
@ -422,7 +422,9 @@ All you work will be lost!`
|
||||||
${component.pinsSvg(10, 20, "output")}
|
${component.pinsSvg(10, 20, "output")}
|
||||||
|
|
||||||
<g @mousedown=${ (e: MouseEvent) => component.handleClick(e)}
|
<g @mousedown=${ (e: MouseEvent) => component.handleClick(e)}
|
||||||
@mouseup=${mouseupHandler}>
|
@touchstart=${(e: MouseEvent) => component.handleClick(e)}
|
||||||
|
@mouseup=${mouseupHandler}
|
||||||
|
@touchend=${mouseupHandler}>
|
||||||
<rect width=${ subscribe(component.width)}
|
<rect width=${ subscribe(component.width)}
|
||||||
height=${ subscribe(component.height)}
|
height=${ subscribe(component.height)}
|
||||||
x=${ subscribe(component.x)}
|
x=${ subscribe(component.x)}
|
||||||
|
|
Loading…
Reference in a new issue