io.scalajs.dom.event.AnimationEvent.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dom-html_sjs0.6_2.11 Show documentation
Show all versions of dom-html_sjs0.6_2.11 Show documentation
DOM/HTML bindings for Scala.js
package io.scalajs.dom.event
import io.scalajs.dom.Event
import scala.scalajs.js
/**
* Animation Event Object
* @author [email protected]
*/
@js.native
class AnimationEvent extends Event with AnimationEvents {
/**
* Returns the name of the animation
*/
def animationName: String = js.native
/**
* Returns the number of seconds an animation has been running
*/
def elapsedTime: Double = js.native
}