Skip to content

Latest commit

 

History

History
116 lines (101 loc) · 2.21 KB

Adding-Animation.md

File metadata and controls

116 lines (101 loc) · 2.21 KB

Adding Animation

This tutorial will show you how to add animation effects to your prototypes.

The Genesys Extension for VS Code supports the AniJS and Animate.css libraries for adding animation effects to your designs through HTML. You can also add animation effects on Events (such as Click) and Conditions (if/then).

To add animation support to your prototype page:

  1. In the HEAD of your page, type gns-add-animation.
  2. Add any of the animation classes to any HTML element you want to animate.

Animation Classes

From AniJS:

From Animate.css:

  • bounce
  • flash
  • pulse
  • rubberBand
  • shake
  • headShake
  • swing
  • tada
  • wobble
  • jello
  • bounceIn
  • bounceInDown
  • bounceInLeft
  • bounceInRight
  • bounceInUp
  • bounceOut
  • bounceOutDown
  • bounceOutLeft
  • bounceOutRight
  • bounceOutUp
  • fadeIn
  • fadeInDown
  • fadeInDownBig
  • fadeInLeft
  • fadeInLeftBig
  • fadeInRight
  • fadeInRightBig
  • fadeInUp
  • fadeInUpBig
  • fadeOut
  • fadeOutDown
  • fadeOutDownBig
  • fadeOutLeft
  • fadeOutLeftBig
  • fadeOutRight
  • fadeOutRightBig
  • fadeOutUp
  • fadeOutUpBig
  • flipInX
  • flipInY
  • flipOutX
  • flipOutY
  • lightSpeedIn
  • lightSpeedOut
  • rotateIn
  • rotateInDownLeft
  • rotateInDownRight
  • rotateInUpLeft
  • rotateInUpRight
  • rotateOut
  • rotateOutDownLeft
  • rotateOutDownRight
  • rotateOutUpLeft
  • rotateOutUpRight
  • hinge
  • jackInTheBox
  • rollIn
  • rollOut
  • zoomIn
  • zoomInDown
  • zoomInLeft
  • zoomInRight
  • zoomInUp
  • zoomOut
  • zoomOutDown
  • zoomOutLeft
  • zoomOutRight
  • zoomOutUp
  • slideInDown
  • slideInLeft
  • slideInRight
  • slideInUp
  • slideOutDown
  • slideOutLeft
  • slideOutRight
  • slideOutUp

Example

To slide in a UEF Notice pattern from the top of the screen, you would add the slideInDown class to the UEF Notice markup like this:

<div class="uef-notice slideInDown>

Further References