关于[Write OnClick Events in C# using Blazor and Eliminate JavaScript]的摘要:
JavaScript can be eliminated for OnClick and other HTML event attributes. Thanks to Microsoft's emerging web technology Blazor, you can now write HTML event attributes using C#. No need to immerse yourself in another coding language. Whether it will be TypeScript, raw JavaScript, or one of the many JavaScript libraries out there. They are not needed! It can all be done with C#. We are going to have a look at how we can implement some of the different HTML event attributes in Blazor and how easy it is to set up.
原文地址: https://www.roundthecode.com/dotnet/blazor/write-onclick-events-c-sharp-blazor-eliminate-javascript