Blazor-Diagrams / Blazor.Diagrams

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

Refactor to use Dynamically imported javascript #427

Closed SebastianWachsmuth closed 3 months ago

SebastianWachsmuth commented 3 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 3 months ago

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