Blazor-Diagrams / Blazor.Diagrams

A fully customizable and extensible all-purpose diagrams library for Blazor
https://blazor-diagrams.zhaytam.com
MIT License
1.01k stars 205 forks source link

Refactor to use Dynamically imported javascript #427

Closed SebastianWachsmuth closed 7 months ago

SebastianWachsmuth commented 7 months ago

Refactored all javascript calls to use IJSObjectReference and import the javascript file dynamically.

Using that method the user no longer has to include

<body>
    <!-- ... -->
    <script src="_content/Z.Blazor.Diagrams/script.min.js"></script>
</body>
SebastianWachsmuth commented 7 months ago

i have to recheck things. ill make another pull request later