Interface IScrollListenerFactory
- Namespace
- MudBlazor
- Assembly
- MudBlazor.dll
Factory interface for creating instances of IScrollListener.
public interface IScrollListenerFactory
- Extension Methods
Methods
Create(string?)
Creates a new instance of IScrollListener for the specified selector.
IScrollListener Create(string? selector)
Parameters
selector
stringThe CSS selector for the element to listen for scroll events.
Returns
- IScrollListener
A new instance of IScrollListener.
Remarks
If you are creating this IScrollListener instance yourself using this factory, then you need to manually call Dispose(); otherwise, you will get a memory leak.