Table of Contents

Class InternalSnackbarAnchor

Namespace
Material.Blazor.Internal
Assembly
Material.Blazor.dll

An anchor component that displays snackbar notification that you display via ShowSnackbar(string, Action, string, string, MBNotifierCloseMethod?, bool, bool, int?, bool). Place this component at the top of either App.razor or MainLayout.razor.

public class InternalSnackbarAnchor : ComponentFoundation, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance
InternalSnackbarAnchor
Implements
Inherited Members

Constructors

InternalSnackbarAnchor()

public InternalSnackbarAnchor()

Methods

BuildRenderTree(RenderTreeBuilder)

Renders the component to the supplied RenderTreeBuilder.

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

Dispose(bool)

protected override void Dispose(bool disposing)

Parameters

disposing bool

OnInitializedAsync()

Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree.

Override this method if you will perform an asynchronous operation and want the component to refresh when that operation is completed.

protected override Task OnInitializedAsync()

Returns

Task

A Task representing any asynchronous operation.