Class ToastShowAnimationSettings
Specifies the animation to appear while showing the Toast.
Inherited Members
Namespace: Syncfusion.Blazor.Notifications
Assembly: Syncfusion.Blazor.dll
Syntax
public class ToastShowAnimationSettings : SfBaseComponent
Constructors
ToastShowAnimationSettings()
Declaration
public ToastShowAnimationSettings()
Properties
Duration
Specifies the duration to animate.
Declaration
public int Duration { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Easing
Specifies the animation timing function.
Declaration
public ToastEasing Easing { get; set; }
Property Value
Type | Description |
---|---|
ToastEasing |
Effect
Specifies the animation name that should be applied on while opening and closing the toast.
If the user sets Fade animation, the toast will open with the FadeIn
effect and close with the FadeOut
effect.
The following are the list of animation effects available to configure to the toast:
- Fade
- FadeZoom
- FlipLeftDown
- FlipLeftUp
- FlipRightDown
- FlipRightUp
- FlipXDown
- FlipXUp
- FlipYLeft
- FlipYRight
- SlideBottom
- SlideLeft
- SlideRight
- SlideTop
- Zoom
- None.
Declaration
public ToastEffect Effect { get; set; }
Property Value
Type | Description |
---|---|
ToastEffect |
Methods
OnParametersSetAsync()
Method invoked when the component has received parameters from its parent.
Declaration
protected override Task OnParametersSetAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing any asynchronous operation. |