add typescript

This commit is contained in:
Jonathan Jenne
2023-08-28 16:42:29 +02:00
parent 76c1d9f380
commit d0d845bfd4
8 changed files with 8725 additions and 23 deletions

View File

@@ -23,8 +23,8 @@
{
if (firstRender)
{
await JS.InvokeVoidAsync("loadPDFFromUrl", "#container", $"/api/download/{document.Id}");
var module = await JS.InvokeAsync<IJSObjectReference>("import", "./js/app.js");
await module.InvokeVoidAsync("App.loadPDFFromUrl", "#container", $"/api/download/{document.Id}");
}
}
}