Trying to replace HREF upon click on Anchor with Blazor.
So in pseudo;
click => calls function => replaces HREF => triggers open event, but targets new HREF
couldn't make it happen, what should be the syntax?
<a href="javascript: void(0)" @onclick="@(()=> GetCloudFileSignedUrl(context.FileName))">@context.FileName</a>
Side note
Please do not reference https://github.com/aspnet/AspNetCore/issues/5545. I'm asking how to replace the HREF value with an external address which is irrelevant to that issue since I'm OK to use javascript: void(0)
at this point.