You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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.
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
The text was updated successfully, but these errors were encountered: