Class TabAnimationPrevious
Specifies the animation to appear when moving to the previous Tab content.
Inherited Members
Namespace: Syncfusion.Blazor.Navigations
Assembly: Syncfusion.Blazor.dll
Syntax
public class TabAnimationPrevious : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Remarks
You can apply the animation effect and transform duration while switching to previous TabItem by specifying value to corresponding property.
Examples
<SfTab>
<TabAnimationSettings>
<TabAnimationPrevious Effect="AnimationEffect.FadeIn" Duration="500"></TabAnimationPrevious>
</TabAnimationSettings>
</SfTab>
Constructors
TabAnimationPrevious()
Declaration
public TabAnimationPrevious()
Properties
Duration
Gets or sets the time duration to transform content while switching to previous tab item.
Declaration
[Parameter]
public int Duration { get; set; }
Property Value
| Type | Description |
|---|---|
| int | If we set the duration value, then the content transforms with in specified duration otherwise the default duration value |
Remarks
The interval value accepts in milliseconds.
Easing
Gets or sets the easing effect applied when transforming the content.
Declaration
[Parameter]
public string Easing { get; set; }
Property Value
| Type | Description |
|---|---|
| string | If we set the easing value, then the specified easing effect is applied when switching to previous tab otherwise the default easing value |
Remarks
This property will accepts the animation-timing-function css values to apply content transition accordingly.
Effect
Gets or sets the animation effect for displaying the previous tab content.
Declaration
[Parameter]
[JsonConverter(typeof(JsonStringEnumConverter))]
public AnimationEffect Effect { get; set; }
Property Value
| Type | Description |
|---|---|
| AnimationEffect | One of the AnimationEffect enumeration. The default value is SlideLeftIn |
Remarks
Animation effect were disabled by setting None to Effect property.
Methods
Dispose(bool)
Dispose unmanaged resources in the Syncfusion Blazor component.
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing | Boolean value to dispose the object. |
Overrides
OnInitializedAsync()
Method invoked when the component is ready to start.
Declaration
protected override Task OnInitializedAsync()
Returns
| Type | Description |
|---|---|
| Task | A System.Threading.Tasks.Task representing any asynchronous operation. |
Overrides
OnParametersSetAsync()
Method invoked when the component has received parameters from its parent in the render tree, and the incoming values have been assigned to properties.
Declaration
protected override Task OnParametersSetAsync()
Returns
| Type | Description |
|---|---|
| Task | A System.Threading.Tasks.Task representing any asynchronous operation. |