wabbajack/Wabbajack.App.Blazor/Utility/JsInterop.cs
2022-01-28 12:58:28 +01:00

13 lines
408 B
C#

using Microsoft.JSInterop;
namespace Wabbajack.App.Blazor.Utility;
public static class JsInterop
{
/// <summary>
/// Converts a <see cref="DotNetStreamReference"/> into a blob URL. Useful for streaming images.
/// <code>async function getBlobUrlFromStream(imageStream: DotNetStreamReference)</code>
/// </summary>
public const string GetBlobUrlFromStream = "getBlobUrlFromStream";
}