IJSRuntime Interface
Definition
Represents an instance of a JavaScript runtime to which calls may be dispatched.
public interface class IJSRuntime
public interface IJSRuntime
type IJSRuntime = interface
Public Interface IJSRuntime
- Derived
Methods
InvokeAsync<TValue>(String, CancellationToken, Object[]) |
Invokes the specified JavaScript function asynchronously. |
InvokeAsync<TValue>(String, Object[]) |
Invokes the specified JavaScript function asynchronously. JSRuntime will apply timeouts to this operation based on the value configured in DefaultAsyncTimeout. To dispatch a call with a different timeout, or no timeout, consider using InvokeAsync<TValue>(String, CancellationToken, Object[]). |
Extension Methods
InvokeAsync<TValue>(IJSRuntime, String, Object[]) |
Invokes the specified JavaScript function asynchronously. JSRuntime will apply timeouts to this operation based on the value configured in DefaultAsyncTimeout. To dispatch a call with a different timeout, or no timeout, consider using InvokeAsync<TValue>(String, CancellationToken, Object[]). |
InvokeAsync<TValue>(IJSRuntime, String, CancellationToken, Object[]) |
Invokes the specified JavaScript function asynchronously. |
InvokeAsync<TValue>(IJSRuntime, String, TimeSpan, Object[]) |
Invokes the specified JavaScript function asynchronously. |
InvokeVoidAsync(IJSRuntime, String, Object[]) |
Invokes the specified JavaScript function asynchronously. |
InvokeVoidAsync(IJSRuntime, String, CancellationToken, Object[]) |
Invokes the specified JavaScript function asynchronously. |
InvokeVoidAsync(IJSRuntime, String, TimeSpan, Object[]) |
Invokes the specified JavaScript function asynchronously. |