wabbajack/Wabbajack.App.Blazor/Utility/JsInterop.cs

13 lines
408 B
C#
Raw Normal View History

2022-01-28 11:58:28 +00:00
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";
}