EyeAuras Docs EyeAuras Docs
EyeAuras Docs EyeAuras Docs
DocFX + Singulink = ♥

Search Results for

    Interface IJsPoeBlazorUtils

    Represents a utility interface for JavaScript operations in a Blazor application.

    Inherited Members
    IAsyncDisposable.DisposeAsync()
    Namespace: PoeShared.Blazor.Services
    Assembly: PoeShared.Blazor.dll
    Syntax
    public interface IJsPoeBlazorUtils : IAsyncDisposable

    Methods

    Name Description
    AddClass(ElementReference, params string[])

    Adds one or more CSS classes to the element specified by a selector or DOM reference.

    AddClass(string, params string[])

    Adds one or more CSS classes to the element specified by a selector or DOM reference.

    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.

    HasClass(ElementReference, string)

    Checks whether a DOM element has a specific CSS class.

    HasClass(string, string)

    Checks whether a DOM element has a specific CSS class.

    LoadCss(string)

    Loads CSS file dynamically

    LoadScript(string)

    Loads a JavaScript file dynamically and returns a promise that completes when the script loads.

    RegisterFileDropTarget(ElementReference)

    Registers a DOM element as a file drop target within the WebView2-based Blazor UI.

    RemoveClass(ElementReference, params string[])

    Removes one or more CSS classes from the element specified by a selector or DOM reference.

    RemoveClass(string, params string[])

    Removes one or more CSS classes from the element specified by a selector or DOM reference.

    RemoveKeyboardHook(ElementReference)
    ScrollElementIntoView(ElementReference, string, string, string)

    Scrolls the specified HTML element into view.

    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.

    SelectTextRangeInElement(ElementReference, int?, int?, JsSelectionRangeDirection)

    Selects text range within an HTML element identified by its ID.

    SetClass(ElementReference, params string[])

    Sets CSS class in the element specified by a selector or DOM reference.

    SetClipboardText(string)

    Sets the text in the clipboard.

    ShowAlert(string)

    Shows a text alert using SweetAlert.

    ToggleClass(ElementReference, string)

    Toggles the presence of a CSS class on the target element.

    ToggleClass(string, string)

    Toggles the presence of a CSS class on the target element.

    Extension Methods

    ObjectExtensions.AddTo<TItem, TCollection>(TItem, ISourceList<TCollection>)
    ObjectExtensions.AddTo<TItem, TCollection>(TItem, ICollection<TCollection>)
    ObjectExtensions.CloneJson<T>(T)
    ObjectExtensions.CopyPropertiesTo<TSource, TTarget>(TSource, TTarget)
    ObjectExtensions.DumpToJson<T>(T)
    ObjectExtensions.DumpToTextRaw<T>(T)
    ObjectExtensions.DumpToText<T>(T)
    ObjectExtensions.Dump<T>(T)
    ObjectExtensions.EvalOrDefault<T, TValue>(T, Func<T, TValue>, TValue)
    ObjectExtensions.Eval<T, TValue>(T, Func<T, TValue>)
    ObjectExtensions.GetPropertyAccessor<TSource, TValue>(TSource, Expression<Func<TSource, TValue>>)
    ObjectExtensions.InsertTo<TItem, TCollection>(TItem, IList<TCollection>, int)
    ObjectExtensions.ToJson<T>(T, Formatting)
    ObjectExtensions.ToStringSafe<T>(T)
    ObjectExtensions.TransferPropertiesTo<TSource, TTarget>(TSource, TTarget, params string[])
    ObjectExtensions.WaitForAsync<TObject, T1>(TObject, Func<TObject, T1>, Predicate<T1>, TimeSpan, int)
    XDocumentExtensions.AddTo<T>(T, XContainer)
    JsObjectsExtensions.DisposeJsSafeAsync(IAsyncDisposable)
    ObjectExtensions.GetPropertyAccessor<TValue>(object, string)
    ObjectReflectionExtensions.GetPropertyTypeOrDefault(object, string)
    ObjectReflectionExtensions.GetPropertyValue<T>(object, string)
    ObjectReflectionExtensions.SetPropertyValue<T>(object, string, T)
    2025 © Xab3r. All rights reserved.