Canvas icon indicating copy to clipboard operation
Canvas copied to clipboard

Missing Parameters for click and mouse events

Open KristofferStrube opened this issue 4 years ago • 3 comments

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.

KristofferStrube avatar Jun 16 '20 14:06 KristofferStrube

It would be nice to have keyboard events, too.

mjrousos avatar Aug 20 '20 16:08 mjrousos

Can these be included to the NuGet release?

e012345678 avatar Sep 19 '23 07:09 e012345678

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.

KristofferStrube avatar Sep 19 '23 10:09 KristofferStrube