The wix-animations module contains functionality for working with

animations.  Learn more.

Guides (Additional information about this section)

  • Introduction

Functions (Perform actions on an object)

  • timeline( ) : Creates a new animation timeline.

Subcategories

  • TimeLine : An animation timeline.

Related Content

  • Image and Text Animation

Introduction

Animation sequences are composed using a timeline. A timeline defines what animations are played on which page elements and when those animations are played.

Typical Animation Process

The following list outlines the typical process of creating and playing an animation timeline:

  • Create a new timeline using the timeline() function.
  • Add animation attributes and sequence them within the timeline using the add() function.
  • Control the playing of the timeline using the play()reverse()pause(), and replay() functions.

To use the Animations API, import

wixAnimationsfrom thewix-animationsmodule:

import wixAnimations from 'wix-animations';

#design #web-design #velo #wix #javascript

Wix-Animation Module Implementation: Follow These Tips to Set It Up
1.55 GEEK