Class ToastHideAnimationSettings
Specifies the animation to appear while hiding the Toast.
Inheritance
System.Object
ToastHideAnimationSettings
Namespace: Syncfusion.Blazor.Notifications
Assembly: Syncfusion.Blazor.dll
Syntax
public class ToastHideAnimationSettings : OwningComponentBase
Constructors
ToastHideAnimationSettings()
Declaration
public ToastHideAnimationSettings()
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 |
Methods
Dispose()
Dispose the unmanaged resources.
Declaration
public virtual void Dispose()
Dispose(Boolean)
Dispose the unmanaged resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Boolean value to dispose the object. |
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. |