Interface IJsPoeBlazorUtils
Represents a utility interface for JavaScript operations in a Blazor application.
Inherited Members
Namespace: PoeShared.Blazor.Services
Assembly: PoeShared.Blazor.dll
Syntax
public interface IJsPoeBlazorUtils : IAsyncDisposable
Methods
Name | Description |
---|---|
AddKeyboardHook<THandler>(ElementReference, DotNetObjectReference<THandler>, string) | |
AddKeyboardHook<THandler>(ElementReference, THandler, string) | |
AddRootComponent(string, string, object) | |
ClickElementById(string) | Clicks on the element with the provided id. |
FocusElementById(string) | Sets focus on the element with the provided id. |
GetClipboardText() | Gets the text from the clipboard asynchronously. |
RemoveKeyboardHook(ElementReference) | |
ScrollToBottom(string) | Scrolls to the bottom of an element matching specified selector using jQuery. |
ScrollToBottom(string, TimeSpan) | Scrolls to the bottom of an element matching specified selector using jQuery. |
ScrollToTop(string) | Scrolls to the top of an element matching specified selector using jQuery. |
ScrollToTop(string, TimeSpan) | Scrolls to the top of an element matching specified selector using jQuery. |
SelectAllTextInElement(ElementReference) | Selects all text within an HTML element identified by its ID. |
SelectAllTextInElementById(string) | Selects all text within an HTML element identified by its ID. |
SetClipboardText(string) | Sets the text in the clipboard. |
ShowAlert(string) | Shows a text alert using SweetAlert. |