Table of Contents

Interface IResizeObserverFactory

Namespace
MudBlazor.Services
Assembly
MudBlazor.dll

Factory interface for creating instances of IResizeObserver.

public interface IResizeObserverFactory
Extension Methods

Methods

Create()

Creates a new instance of IResizeObserver.

IResizeObserver Create()

Returns

IResizeObserver

A new instance of IResizeObserver.

Remarks

If you are creating this IResizeObserver instance yourself using this factory, then you need to manually call DisposeAsync(); otherwise, you will get a memory leak.

Create(ResizeObserverOptions)

Creates a new instance of IResizeObserver with the specified options.

IResizeObserver Create(ResizeObserverOptions options)

Parameters

options ResizeObserverOptions

The options to configure the resize observer.

Returns

IResizeObserver

A new instance of IResizeObserver.

Remarks

If you are creating this IResizeObserver instance yourself using this factory, then you need to manually call DisposeAsync(); otherwise, you will get a memory leak.