Missing Parameters for click and mouse events
Opened this issue · 3 comments
KristofferStrube commented
The fields onclick, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, and onmousewheel are available on the HTML canvas.
They should be so as well in Blazor as:
OnClick, OnMouseDown, OnMouseMove, OnMouseOut, OnMouseOver, OnMouseUp and OnMouseWheel.
mjrousos commented
It would be nice to have keyboard events, too.
e012345678 commented
Can these be included to the NuGet release?
KristofferStrube commented
It doesn't seem that this library is being maintained. I would suggest checking out https://github.com/excubo-ag/Blazor.Canvas instead. If you don't want to switch then a very easy way to achieve the same without this PR is to wrap the canvas in a div and then add the attributes to that.