Table of Contents

Class DetailsElementEventDispatchExtensions

Namespace
Bunit
Assembly
Bunit.Web.dll

General event dispatch helper extension methods.

public static class DetailsElementEventDispatchExtensions
Inheritance
DetailsElementEventDispatchExtensions
Inherited Members

Methods

Toggle(IElement)

Raises the @ontoggle event on element to the event handler.

public static void Toggle(this IElement element)

Parameters

element IElement

The element to raise the event on.

ToggleAsync(IElement, EventArgs)

Raises the @ontoggle event on element, passing the provided eventArgs to the event handler.

public static Task ToggleAsync(this IElement element, EventArgs eventArgs)

Parameters

element IElement

The element to raise the event on.

eventArgs EventArgs

The event arguments to pass to the event handler.

Returns

Task

A task that completes when the event handler is done.

Progress Telerik

Premium sponsor: Progress Telerik.

Packt

Editorial support provided by Packt.

.NET Foundation

Supported by the .NET Foundation.