You are here

function animate_css_animations in Animate CSS 7

Provide options for options fields.

File

./animate_css.module, line 73
Drupal integration with Animate.css, bunch of cool, fun, and cross-browser animations for you to use in your projects.

Code

function animate_css_animations() {
  $animations = array(
    'Attention Seekers' => array(
      'bounce' => 'Bounce',
      'flash' => 'Flash',
      'pulse' => 'Pulse',
      'rubberBand' => 'Rubber Band',
      'shake' => 'Shake',
      'swing' => 'Swing',
      'tada' => 'Ta-da',
      'wobble' => 'Wobble',
      'jello' => 'Jello',
    ),
    'Bouncing Entrances' => array(
      'bounceIn' => 'Bounce In',
      'bounceInDown' => 'Bounce In Down',
      'bounceInLeft' => 'Bounce In Left',
      'bounceInRight' => 'Bounce In Right',
      'bounceInUp' => 'Bounce In Up',
    ),
    'Bouncing Exit' => array(
      'bounceOut' => 'Bounce Out',
      'bounceOutDown' => 'Bounce Out Down',
      'bounceOutLeft' => 'Bounce Out Left',
      'bounceOutRight' => 'Bounce Out Right',
      'bounceOutUp' => 'Bounce Out Up',
    ),
    'Fading Entrances' => array(
      'fadeIn' => 'Fade In',
      'fadeInDown' => 'Fade In Down',
      'fadeInLeft' => 'Fade In Left',
      'fadeInRight' => 'Fade In Right',
      'fadeInUp' => 'Fade In Up',
      'fadeInDownBig' => 'Fade In Down Big',
      'fadeInLeftBig' => 'Fade In Left Big',
      'fadeInRightBig' => 'Fade In Right Big',
      'fadeInUpBig' => 'Fade In Up Big',
    ),
    'Fading Exits' => array(
      'fadeOut' => 'Fade Out',
      'fadeOutDown' => 'Fade Out Down',
      'fadeOutLeft' => 'Fade Out Left',
      'fadeOutRight' => 'Fade Out Right',
      'fadeOutUp' => 'Fade Out Up',
      'fadeOutDownBig' => 'Fade Out Down Big',
      'fadeOutLeftBig' => 'Fade Out Left Big',
      'fadeOutRightBig' => 'Fade Out Right Big',
      'fadeOutUpBig' => 'Fade Out Up Big',
    ),
    'Flippers' => array(
      'flip' => 'Flip',
      'flipInX' => 'Flip In X',
      'flipInY' => 'Flip In Y',
      'flipOutX' => 'Flip Out X',
      'flipOutY' => 'Flip Out Y',
    ),
    'Lightspeed' => array(
      'lightSpeedIn' => 'Lightspeed In',
      'lightSpeedOut' => 'Lightspeed Out',
    ),
    'Rotating Entrances' => array(
      'rotateIn' => 'Rotate In',
      'rotateInDownLeft' => 'Rotate In Down Left',
      'rotateInDownRight' => 'Rotate In Down Right',
      'rotateInUpLeft' => 'Rotate In Up Left',
      'rotateInUpRight' => 'Rotate In Up Right',
    ),
    'Rotating Exits' => array(
      'rotateOut' => 'Rotate Out',
      'rotateOutDownLeft' => 'Rotate Out Down Left',
      'rotateOutDownRight' => 'Rotate Out Down Right',
      'rotateOutUpLeft' => 'Rotate Out Up Left',
      'rotateOutUpRight' => 'Rotate Out Up Right',
    ),
    'Sliding Entrances' => array(
      'slideInUp' => 'Slide In Up',
      'slideInDown' => 'Slide In Down',
      'slideInLeft' => 'Slide In Left',
      'slideInRight' => 'Slide In Right',
    ),
    'Sliding Exits' => array(
      'slideOutUp' => 'Slide Out Up',
      'slideOutDown' => 'Slide Out Down',
      'slideOutLeft' => 'Slide Out Left',
      'slideOutRight' => 'Slide Out Right',
    ),
    'Zoom Entrances' => array(
      'zoomInUp' => 'Zoom In Up',
      'zoomInDown' => 'Zoom In Down',
      'zoomInLeft' => 'Zoom In Left',
      'zoomInRight' => 'Zoom In Right',
    ),
    'Zoom Exits' => array(
      'zoomOutUp' => 'Zoom Out Up',
      'zoomOutDown' => 'Zoom Out Down',
      'zoomOutLeft' => 'Zoom Out Left',
      'zoomOutRight' => 'Zoom Out Right',
    ),
    'Specials' => array(
      'hinge' => 'Hinge',
      'rollIn' => 'Roll In',
      'rollOut' => 'Roll Out',
    ),
  );
  return $animations;
}