Class AnimationModel
Represents the animation configuration model for Tooltip open and close operations.
Inheritance
Namespace: Syncfusion.Blazor.Popups
Assembly: Syncfusion.Blazor.dll
Syntax
public class AnimationModel : Object
Remarks
This class provides separate animation settings for the opening and closing transitions of the Tooltip, allowing for different visual effects during each phase of the Tooltip lifecycle.
Examples
var animationModel = new AnimationModel
{
Open = new TooltipAnimationSettings
{
Effect = Effect.FadeIn,
Duration = 300,
Delay = 0
},
Close = new TooltipAnimationSettings
{
Effect = Effect.FadeOut,
Duration = 200,
Delay = 0
}
};
Constructors
AnimationModel()
Declaration
public AnimationModel()
Properties
Close
Gets or sets the animation settings applied to the Tooltip when it is being closed or hidden.
Declaration
public TooltipAnimationSettings Close { get; set; }
Property Value
Type | Description |
---|---|
TooltipAnimationSettings | A TooltipAnimationSettings object that defines the closing animation properties. The default value is |
Remarks
This property controls the visual transition effects when the Tooltip is being dismissed or hidden from view. Setting this property allows customization of the closing animation duration, delay, and effect type.
Open
Gets or sets the animation settings applied to the Tooltip when it is being opened or shown.
Declaration
public TooltipAnimationSettings Open { get; set; }
Property Value
Type | Description |
---|---|
TooltipAnimationSettings | A TooltipAnimationSettings object that defines the opening animation properties. The default value is |
Remarks
This property controls the visual transition effects when the Tooltip is being displayed over the target element. Setting this property allows customization of the opening animation duration, delay, and effect type.