Class TwToastProvider
- Namespace
- TwBlazor.Components
- Assembly
- TwBlazor.dll
A component that displays toast notifications managed by ITwToastService.
public sealed class TwToastProvider : TwBlazorComponentBase, IComponent, IHandleEvent, IHandleAfterRender, ITwComponent, IDisposable
- Inheritance
-
TwToastProvider
- Implements
- Inherited Members
Constructors
TwToastProvider()
public TwToastProvider()
Methods
BuildRenderTree(RenderTreeBuilder)
Renders the component to the supplied RenderTreeBuilder.
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builderRenderTreeBuilder
Dispose()
Unsubscribes from toast service events.
public void Dispose()
OnInitialized()
Initializes the component and subscribes to toast service events.
protected override void OnInitialized()