Table of Contents

Interface IPopoverObserver

Namespace
MudBlazor
Assembly
MudBlazor.dll

Represents an observer for popover updates.

public interface IPopoverObserver
Extension Methods

Properties

Id

Gets the unique identifier of the observer.

Guid Id { get; }

Property Value

Guid

Methods

PopoverCollectionUpdatedNotificationAsync(PopoverHolderContainer, CancellationToken)

Notifies the observer of a popover collection update in ActivePopovers. This notification is triggered only when CreatePopoverAsync(IPopover), UpdatePopoverAsync(IPopover) or DestroyPopoverAsync(IPopover) is called.

Task PopoverCollectionUpdatedNotificationAsync(PopoverHolderContainer container, CancellationToken cancellationToken = default)

Parameters

container PopoverHolderContainer

The container holding the collection of updated popover holders and the corresponding operation.

cancellationToken CancellationToken

Indicates that the process has been aborted.

Returns

Task

A task representing the asynchronous notification operation.

Remarks

Please note that this notification will not be triggered if UpdatePopoverAsync(IPopover), DestroyPopoverAsync(IPopover) return false.