Blazor

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

    Show / Hide Table of Contents

    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 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
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved