/// <summary>Deregisters an event listener <em>callback</em> from an event.</summary> /// <param name="callback">Listener that shall be unregistered.</param> /// <param name="filters">Conditions that the URL being navigated to must satisfy. The 'schemes' and 'ports' fields of UrlFilter are ignored for this event.</param> public virtual ValueTask RemoveListener(Action <OnCommittedEventRemoveListenerCallbackDetails> callback, EventUrlFilters filters) { return(InvokeVoidAsync("removeListener", callback, filters)); }
/// <summary></summary> /// <param name="callback">Listener whose registration status shall be tested.</param> /// <param name="filters">Conditions that the URL being navigated to must satisfy. The 'schemes' and 'ports' fields of UrlFilter are ignored for this event.</param> /// <returns>True if <em>callback</em> is registered to the event.</returns> public virtual ValueTask <bool> HasListener(Action <OnCommittedEventHasListenerCallbackDetails> callback, EventUrlFilters filters) { return(InvokeAsync <bool>("hasListener", callback, filters)); }
/// <summary>Registers an event listener <em>callback</em> to an event.</summary> /// <param name="callback">Fired when a new window, or a new tab in an existing window, is created to host a navigation.</param> /// <param name="filters">Conditions that the URL being navigated to must satisfy. The 'schemes' and 'ports' fields of UrlFilter are ignored for this event.</param> public virtual ValueTask AddListener(Action <OnCreatedNavigationTargetEventAddListenerCallbackDetails> callback, EventUrlFilters filters) { return(InvokeVoidAsync("addListener", callback, filters)); }
/// <summary>Registers an event listener <em>callback</em> to an event.</summary> /// <param name="callback">Fired when the page's DOM is fully constructed, but the referenced resources may not finish loading.</param> /// <param name="filters">Conditions that the URL being navigated to must satisfy. The 'schemes' and 'ports' fields of UrlFilter are ignored for this event.</param> public virtual ValueTask AddListener(Action <OnDomContentLoadedEventAddListenerCallbackDetails> callback, EventUrlFilters filters) { return(InvokeVoidAsync("addListener", callback, filters)); }
/// <summary>Registers an event listener <em>callback</em> to an event.</summary> /// <param name="callback">Fired when the frame's history was updated to a new URL. All future events for that frame will use the updated URL.</param> /// <param name="filters">Conditions that the URL being navigated to must satisfy. The 'schemes' and 'ports' fields of UrlFilter are ignored for this event.</param> public virtual ValueTask AddListener(Action <OnHistoryStateUpdatedEventAddListenerCallbackDetails> callback, EventUrlFilters filters) { return(InvokeVoidAsync("addListener", callback, filters)); }