xyz.jsinterop.client.dom.AnimationEvent Maven / Gradle / Ivy
package xyz.jsinterop.client.dom;
/*
* #%L
* jsinterop
* %%
* Copyright (C) 2016 Norbert Sándor
* %%
* 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/.
* #L%
*/
import jsinterop.annotations.JsMethod;
import jsinterop.annotations.JsPackage;
import jsinterop.annotations.JsProperty;
import jsinterop.annotations.JsType;
@JsType(isNative = true, namespace = JsPackage.GLOBAL)
public interface AnimationEvent extends Event {
@JsProperty
public abstract String getAnimationName();
@JsProperty
public abstract void setAnimationName(final String value);
@JsProperty
public abstract double getElapsedTime();
@JsProperty
public abstract void setElapsedTime(final double value);
@JsMethod
public abstract void initAnimationEvent(final String typeArg, final boolean canBubbleArg,
final boolean cancelableArg, final String animationNameArg, final double elapsedTimeArg);
}