fixing issue, where events will not be triggered from blazor server.
All panel-events (OnDrag, OnDragStart, OnDragStop) will not be called on blazor server applications. Changing invokeMethod to invokeMethodAsync makes sure that the events will be called on every blazor application type.
fixing issue, where events will not be triggered from blazor server.
All panel-events (OnDrag, OnDragStart, OnDragStop) will not be called on blazor server applications. Changing invokeMethod to invokeMethodAsync makes sure that the events will be called on every blazor application type.
Unit-Tests are all green.
Explanation from MS: https://learn.microsoft.com/en-us/aspnet/core/blazor/javascript-interoperability/call-dotnet-from-javascript?view=aspnetcore-8.0