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