public async Task InitializeHandler() { await _jsRuntime.InvokeVoidAsync("splitterLib.setResizeHandlerInstance", DotNetObjectReference.Create(this)); }
public HxToast() { dotnetObjectReference = DotNetObjectReference.Create(this); }
public void GetBoundingClientRect(string ElementID) { BPaintCJsInterop.GetElementBoundingClientRect(ElementID, DotNetObjectReference.Create(this)); }
/// <summary> /// Creates an instance of the dev tools interop /// </summary> /// <param name="jsRuntime"></param> public ReduxDevToolsInterop(IJSRuntime jsRuntime) { JSRuntime = jsRuntime; DotNetRef = DotNetObjectReference.Create(this); }
protected override void Dispose(bool disposing) { _reference = null; _ = JsInvokeAsync(JSInteropConstants.DisposeObj, ReferenceName); base.Dispose(disposing); }
public ValueTask AddEventListener <T>(ElementReference element, DotNetObjectReference <T> dotnet, string @event, string callback) where T : class => new ValueTask();
private record ListenForResizeCallbackInfo( DotNetObjectReference <BreakpointService> DotnetRef, ResizeOptions options, Guid ListenerId);