Class ToastAnimationsModel
Interface for a class ToastAnimations.
Inheritance
System.Object
ToastAnimationsModel
Namespace: Syncfusion.Blazor.Notifications
Assembly: Syncfusion.Blazor.dll
Syntax
public class ToastAnimationsModel : Object
Constructors
ToastAnimationsModel()
Declaration
public ToastAnimationsModel()
Properties
Duration
Specifies the duration to animate.
Declaration
public int Duration { get; set; }
Property Value
Type |
---|
System.Int32 |
Easing
Specifies the animation timing function.
Declaration
public ToastEasing Easing { get; set; }
Property Value
Type |
---|
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 |
---|
ToastEffect |