This page is Almost Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

animationName

Summary

The value of the animation-name property of the animation that fired the animation event.

Property of dom/AnimationEventdom/AnimationEvent

Syntax

Note: This property is read-only.

var result = element.animationName;

Examples

//define animation event
var myAnimEvent = new AnimationEvent();
//retrieve name
var myAnimName = myAnimEvent.animationName;

Attributions