Implementation:SeleniumHQ Selenium Closure Animation
| Knowledge Sources | |
|---|---|
| Domains | JavaScript_Atoms, Vendored_Library |
| Last Updated | 2026-02-12 00:00 GMT |
Overview
Vendored Google Closure Library module providing classes for doing animations and visual effects, used by Selenium JavaScript atoms.
Description
goog.fx.Animation is a vendored copy of the Google Closure Library module. It provides a constructor for animation objects that interpolate between start and end coordinate arrays over a specified duration, with an optional acceleration function. The module also provides goog.fx.Animation.EventType, goog.fx.Animation.State, and goog.fx.AnimationEvent. It implements goog.fx.anim.Animated and goog.fx.Transition interfaces and extends goog.fx.TransitionBase. Selenium uses this as part of its JavaScript atom infrastructure for browser automation commands.
Usage
This module is consumed internally by Selenium's JavaScript atoms build system. It is not imported directly by end users.
Code Reference
Source Location
- Repository: SeleniumHQ_Selenium
- File: third_party/closure/goog/fx/animation.js
- Lines: 1-553
Key Exports
goog.provide('goog.fx.Animation');
goog.provide('goog.fx.Animation.EventType');
goog.provide('goog.fx.Animation.State');
goog.provide('goog.fx.AnimationEvent');
// Constructor: goog.fx.Animation(start, end, duration, opt_acc)
// Extends: goog.fx.TransitionBase
// Implements: goog.fx.anim.Animated, goog.fx.Transition