Enum JSRuntimeMode
- Namespace
- Bunit
- Assembly
- Bunit.Web.dll
The execution mode of the BunitJSInterop.
public enum JSRuntimeMode
- Extension Methods
Fields
Loose = 0
Loose configures the BunitJSInterop to return default TValue for InvokeAsync<TValue>(string, object[]) calls.
Strict = 1
Strict configures the BunitJSInterop to throw an JSRuntimeUnhandledInvocationException exception when a call to for InvokeAsync<TValue>(string, object[]) has not been setup.