Animation.pause()

This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for the proper prefixes to use in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the spec changes.

The pause() method of the Animation interface suspends playing of an animation..

Syntax

element.pause(); 

Example

The following example shows

;

Specifications

Specification Status Comment
Web Animations 1.0
The definition of 'play()' in that specification.
Working Draft  

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 39.0 (Yes) [1] ? ? ?
Feature Android Firefox Mobile (Gecko) Firefox OS IE Mobile Opera Mobile Safari Mobile Chrome for Android
Basic support ? (Yes) [1] ? ? ? ? ?

[1] Before Firefox 40, this property was implemented on the AnimationPlayer interface.

Document Tags and Contributors

 Contributors to this page: Jeremie, teoli, jpmedley, kscarfone
 Last updated by: Jeremie,