GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Anime.js | JavaScript Animation Engine
  • Docs
  • Easings
  • Learn
  • Examples
  • GitHub
  • Sponsor
  • Getting started
  • Installation
  • Module imports
  • Using with vanilla JS
  • Using with React
  • Timer
  • Playback settings

This view

  • Original page
  • New address

GeezerVison is showing animejs.com — Engine defaults | Engine | Documentation | Anime.js | JavaScript Animation Engine

Engine

Since 4.0.0

Engine defaults

Defines the global defaults properties used by all Timer, Animation and Timeline instances.

All default properties are available on the defaults Object of engine.

import { engine } from 'animejs';

engine.engine.defaults.duration = 500;
Name Accepts
playbackEase Easing name String | Easing Function
playbackRate Number
frameRate Number
loop Number | Boolean
reversed Boolean
alternate Boolean
autoplay Boolean
duration Number | Function
delay Number | Function
composition Composition types String | Function
ease Easing name String | Easing Function
loopDelay Number
modifier Modifier Function
onBegin Callback Function
onUpdate Callback Function
onRender Callback Function
onLoop Callback Function
onComplete Callback Function
onPause Callback Function
Previous
Next
  • Engine properties
  • Adapters
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.