2 writes to JSRuntime
Microsoft.AspNetCore.Components.Web.Tests (2)
Forms\BrowserFileTest.cs (2)
42
var inputFile = new InputFile {
JSRuntime
= jsRuntime.Object };
67
var inputFile = new InputFile {
JSRuntime
= jsRuntime.Object };
3 references to JSRuntime
Microsoft.AspNetCore.Components.Web (3)
Forms\InputFile.cs (3)
53
await
JSRuntime
.InvokeVoidAsync(InputFileInterop.Init, _jsCallbacksRelay.DotNetReference, _inputFileElement);
69
JSRuntime
,
77
var imageFile = await
JSRuntime
.InvokeAsync<BrowserFile>(InputFileInterop.ToImageFile, _inputFileElement, file.Id, format, maxWidth, maxHeight);