BlazorContextMenu
BlazorContextMenu copied to clipboard
include blazorContextMenu.min.css and blazorContextMenu.min.js in a more Blazor like way. Reference the static files will not necessary
Is your feature request related to a problem? Please describe. I'm always frustrated when I have add a link and script html tag to use a Blazor Component , In my opinion It should work in the most simple way . Ideal Install-Package add using , and than you can use it.
Describe the solution you'd like Use Blazor CSS isolation. Use Blazor JavaScript Isolation e.g JS modules
var module = await jsRuntime.InvokeAsync<JSObjectReference>("import", "./_content/MyComponents/exampleJsInterop.js"); await module.InvokeAsync<string>("showPrompt", message);
B.R Wolfgang
Totally agreed! I myself am building a component and I'd like to use this component, but it is a blocker for me, as I don't want my users to be including third party component js and css files. This has to be included in the component itself.
As it is a blocker for me, I'll take a look into this and hopefully have an implementation ready in a short period of time.