BlazorExtensions/Canvas

Missing Parameters for click and mouse events

Opened this issue · 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.

It would be nice to have keyboard events, too.

Can these be included to the NuGet release?

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.