2011-04-11 23:18:44 -07:00
|
|
|
/* vim: set shiftwidth=2 tabstop=8 autoindent cindent expandtab: */
|
2012-05-21 04:12:37 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2011-04-11 23:18:44 -07:00
|
|
|
|
|
|
|
#include "nsIDOMEvent.idl"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Animation events are defined in:
|
|
|
|
* http://www.w3.org/TR/css3-animations/#animation-events-
|
|
|
|
* http://dev.w3.org/csswg/css3-animations/#animation-events-
|
|
|
|
*/
|
|
|
|
|
2012-06-10 16:44:50 -07:00
|
|
|
[scriptable, builtinclass, uuid(861e0be7-695a-4627-919f-13bccb9eb115)]
|
2011-04-11 23:18:44 -07:00
|
|
|
interface nsIDOMAnimationEvent : nsIDOMEvent {
|
|
|
|
readonly attribute DOMString animationName;
|
|
|
|
readonly attribute float elapsedTime;
|
|
|
|
void initAnimationEvent(in DOMString typeArg,
|
|
|
|
in boolean canBubbleArg,
|
|
|
|
in boolean cancelableArg,
|
|
|
|
in DOMString propertyNameArg,
|
|
|
|
in float elapsedTimeArg);
|
|
|
|
};
|