Blazorise Animate API

Explore the Blazorise Animate API reference for parameters, events, methods, and related types.

For examples and usage guidance, see the Animate documentation.

API

Parameters

ParameterDefaultType
Anchor—string

Element whose offset will be used to trigger animation instead of an actual one.
AnchorPlacement—string

Specifies which position of the element regarding to window should trigger the animation.
AnimatedSizeNoneAnimatedSize

Specifies which size dimension should be animated together with the configured animation.
Possible values:NoneWidthHeight
AnimateOnInitialRendertruebool

Specifies whether the animation should run on the first render.
AnimationFadeIAnimation

Specifies the animation effect.
The list of all supported animations can be found in Animations class.

When omitted, uses AnimateOptions.Animation, falling back to Fade.

Autotruebool

True if the animation will be executed automatically. Otherwise if false it needs to be run manually with Run method.
ChildContentnullRenderFragment

Specifies the content to be rendered inside this Animate.
Delay0 msTimeSpan?

Gets os sets the delay of the animation before it runs automatically, or manually.
Values from 0 to 3000, with step 50ms.

When omitted, uses DelayMilliseconds, then a positive AnimateOptions.Delay, then 0 ms.

DelayMilliseconds0int?

Gets os sets the delay in milliseconds of the animation before it runs automatically, or manually.
Values from 0 to 3000, with step 50ms.

When omitted, uses a positive AnimateOptions.Delay, then 0 ms. Delay takes precedence when supplied.

Duration400 msTimeSpan?

Gets os sets the total duration of the animation.
Values from 0 to 3000, with step 50ms.

When omitted, uses DurationMilliseconds, then a positive AnimateOptions.Duration, then 400 ms.

DurationMilliseconds400int?

Gets os sets the total duration of the animation, in milliseconds.
Values from 0 to 3000, with step 50ms.

When omitted, uses a positive AnimateOptions.Duration, then 400 ms. Duration takes precedence when supplied.

EasingEaseIEasing

Specifies the easing effect.
The list of all supported easings can be found in Easings class.

When omitted, uses AnimateOptions.Easing, falling back to Easings.Ease.

Mirrorfalsebool

Whether elements should animate out while scrolling past them.
When omitted, uses AnimateOptions.Mirror, falling back to false.
Offset0int

Shifts the trigger point of the animation.
Oncefalsebool

Whether animation should happen only once - while scrolling down.
When omitted, uses AnimateOptions.Once, falling back to false.
OptionsnullAnimateOptions

Specifies the animate options.
OptionsNameMicrosoft.Extensions.Options.Options.DefaultNamestring

Specifies the custom name of the options to get from the configuration.
TriggerInViewAnimationTrigger

Specifies when the animation should run.
Possible values:InViewRender
Visibletruebool

Specifies whether the content is visible.

Methods

MethodReturnParameters
Runvoid—

Runs the animation manually.