Add JS dependency manager

Added LoadJS(https://github.com/muicss/loadjs) and migrated Quill interop to use LoadJS.
This commit is contained in:
Jim Spillane
2020-06-10 21:09:10 -04:00
parent 2ceeb25d0e
commit 5124dea72c
8 changed files with 58 additions and 22 deletions

View File

@ -234,5 +234,18 @@ namespace Oqtane.UI
return Task.CompletedTask;
}
}
public async Task LoadInteropScript(string filePath)
{
try
{
await _jsRuntime.InvokeAsync<bool>("Oqtane.Interop.loadInteropScript", filePath);
}
catch
{
// handle exception
}
}
}
}