Meziantou.AspNetCore.Testing.Components.JSInterop namespace

Classes

NameDescription
ComponentJSInteropConfigures the JavaScript interop of the components (IJSRuntime): the results of the calls, and the calls that were made. A call that is not set up calls the JavaScript functions of the page when ComponentTestHostOptions.EnableJavaScript is true, and otherwise follows ComponentJSInterop.Mode.
JSInvocationA call of a JavaScript function by a component.
UnplannedJSInvocationExceptionA component called a JavaScript function that is not set up, in JSInteropMode.Strict mode.

Enums

NameDescription
JSInteropModeWhat a JavaScript call that is not set up returns when the page does not run JavaScript.