75 liens privés
https://github.com/MackinnonBuck/blazor-js-components
https://www.telerik.com/blogs/blazor-basics-blazor-javascript-interop-calling-javascript-net
function showMessage() {
console.log('Hello, world2!');
}
@inject IJSRuntime JS
<script src="script2.js"></script>
@code {
protected async override Task OnAfterRenderAsync(bool firstRender)
{
await JS.InvokeVoidAsync("showMessage");
}
}
.NET 9 ensures your users always get the latest version of your JS modules
A Blazor component enabling per-page JavaScript initialization logic in statically rendered Blazor Web apps - MackinnonBuck/blazor-page-script
Photo by Sigmund on Unsplash In the recent four years I did quite a bit of web development also... Tagged with blazor, dotnet, javascript, webdev.
There are two lessons, how to create a list of checkboxes and also how to set aria-checked for each... Tagged with javascript, webdev, codenewbie, a11y.
:on: :bookmark: Create your own social share buttons. No jquery. - GitHub - ellisonleao/sharer.js: Create your own social share buttons. No jquery.