Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ToastHideAnimationSettings - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ToastHideAnimationSettings

    Specifies the animation to appear while hiding the Toast.

    Inheritance
    System.Object
    SfBaseComponent
    ToastHideAnimationSettings
    Inherited Members
    SfBaseComponent.OnInitializedAsync()
    SfBaseComponent.OnAfterRenderAsync(Boolean)
    SfBaseComponent.Dispose()
    SfBaseComponent.Dispose(Boolean)
    SfBaseComponent.OnObservableChange(String, Object, Boolean, NotifyCollectionChangedEventArgs)
    Namespace: Syncfusion.Blazor.Notifications
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ToastHideAnimationSettings : SfBaseComponent

    Constructors

    ToastHideAnimationSettings()

    Declaration
    public ToastHideAnimationSettings()

    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:

    1. Fade
    2. FadeZoom
    3. FlipLeftDown
    4. FlipLeftUp
    5. FlipRightDown
    6. FlipRightUp
    7. FlipXDown
    8. FlipXUp
    9. FlipYLeft
    10. FlipYRight
    11. SlideBottom
    12. SlideLeft
    13. SlideRight
    14. SlideTop
    15. Zoom
    16. 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.

    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved