Skip to content

include blazorContextMenu.min.css and blazorContextMenu.min.js in a more Blazor like way. Reference the static files will not necessary #133

Open
@wolfgangschneider

Description

@wolfgangschneider

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions