Enum ToastEffect
Specifies the animation effects available for Toast notification show and hide transitions.
Namespace: Syncfusion.Blazor.Notifications
Assembly: Syncfusion.Blazor.dll
Syntax
public enum ToastEffect
Remarks
This enumeration provides a comprehensive set of animation effects that can be applied to Toast notifications. These effects enhance the user experience by providing smooth visual transitions when Toast messages appear and disappear. The effects are grouped into categories including fade, flip, slide, and zoom animations, each offering different visual styles.
Examples
Configuring animation effects for Toast:
<SfToast>
<ToastAnimationSettings>
<ToastShowAnimationSettings Effect="ToastEffect.FadeIn" Duration="500" />
<ToastHideAnimationSettings Effect="ToastEffect.FadeOut" Duration="300" />
</ToastAnimationSettings>
</SfToast>
Fields
| Name | Description |
|---|---|
| FadeIn | Specifies a fade-in animation effect that gradually increases opacity from transparent to visible. |
| FadeOut | Specifies a fade-out animation effect that gradually decreases opacity from visible to transparent. |
| FadeZoomIn | Specifies a fade-zoom-in animation effect that combines fading and scaling from small to normal size. |
| FadeZoomOut | Specifies a fade-zoom-out animation effect that combines fading and scaling from normal to small size. |
| FlipLeftDownIn | Specifies a flip animation effect that rotates the Toast notification from the left side downward during entrance. |
| FlipLeftDownOut | Specifies a flip animation effect that rotates the Toast notification toward the left side downward during exit. |
| FlipLeftUpIn | Specifies a flip animation effect that rotates the Toast notification from the left side upward during entrance. |
| FlipLeftUpOut | Specifies a flip animation effect that rotates the Toast notification toward the left side upward during exit. |
| FlipRightDownIn | Specifies a flip animation effect that rotates the Toast notification from the right side downward during entrance. |
| FlipRightDownOut | Specifies a flip animation effect that rotates the Toast notification toward the right side downward during exit. |
| FlipRightUpIn | Specifies a flip animation effect that rotates the Toast notification from the right side upward during entrance. |
| FlipRightUpOut | Specifies a flip animation effect that rotates the Toast notification toward the right side upward during exit. |
| FlipXDownIn | Specifies a flip animation effect that rotates the Toast notification along the X-axis downward during entrance. |
| FlipXDownOut | Specifies a flip animation effect that rotates the Toast notification along the X-axis downward during exit. |
| FlipXUpIn | Specifies a flip animation effect that rotates the Toast notification along the X-axis upward during entrance. |
| FlipXUpOut | Specifies a flip animation effect that rotates the Toast notification along the X-axis upward during exit. |
| FlipYLeftIn | Specifies a flip animation effect that rotates the Toast notification along the Y-axis from the left during entrance. |
| FlipYLeftOut | Specifies a flip animation effect that rotates the Toast notification along the Y-axis toward the left during exit. |
| FlipYRightIn | Specifies a flip animation effect that rotates the Toast notification along the Y-axis from the right during entrance. |
| FlipYRightOut | Specifies a flip animation effect that rotates the Toast notification along the Y-axis toward the right during exit. |
| None | Specifies no animation effect for the Toast notification. |
| SlideBottomIn | Specifies a slide animation effect that moves the Toast notification from the bottom edge into view. |
| SlideBottomOut | Specifies a slide animation effect that moves the Toast notification toward the bottom edge out of view. |
| SlideDown | Specifies a slide animation effect that moves the Toast notification downward. |
| SlideLeft | Specifies a slide animation effect that moves the Toast notification leftward. |
| SlideLeftIn | Specifies a slide animation effect that moves the Toast notification from the left edge into view. |
| SlideLeftOut | Specifies a slide animation effect that moves the Toast notification toward the left edge out of view. |
| SlideRight | Specifies a slide animation effect that moves the Toast notification rightward. |
| SlideRightIn | Specifies a slide animation effect that moves the Toast notification from the right edge into view. |
| SlideRightOut | Specifies a slide animation effect that moves the Toast notification toward the right edge out of view. |
| SlideTopIn | Specifies a slide animation effect that moves the Toast notification from the top edge into view. |
| SlideTopOut | Specifies a slide animation effect that moves the Toast notification toward the top edge out of view. |
| SlideUp | Specifies a slide animation effect that moves the Toast notification upward. |
| ZoomIn | Specifies a zoom animation effect that scales the Toast notification from small to normal size during entrance. |
| ZoomOut | Specifies a zoom animation effect that scales the Toast notification from normal to small size during exit. |