Replies: 1 comment
-
Hi there, @inject IJSRuntime JSRuntime
@code {
private bool isWasm;
protected override void OnInitialized()
{
isWasm = JSRuntime is IJSInProcessRuntime;
}
} IJSInProcessRuntime is only available in WebAssembly. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
is there a way for a component in an RCL to detect which environment it's running on (WASM or server)?
Beta Was this translation helpful? Give feedback.
All reactions