Table of Contents

Class TransitionEvent

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The TransitionEvent interface represents events providing information related to transitions.

[Value("TransitionEvent")]
public class TransitionEvent : Event
Inheritance
TransitionEvent
Inherited Members

Remarks

Constructors

TransitionEvent()

public TransitionEvent()

TransitionEvent(string, TransitionEventInit)

The TransitionEvent() constructor returns a new TransitionEvent object, representing an event in relation with a transition.

public TransitionEvent(string type, TransitionEventInit transitionEventInitDict = null)

Parameters

type string
transitionEventInitDict TransitionEventInit

Remarks

Properties

ElapsedTime

The TransitionEvent.elapsedTime read-only property is a
float giving the amount of time the animation has been running, in seconds,
when this event fired. This value is not affected by the transition-delay
property.

[Value("elapsedTime")]
public Number ElapsedTime { get; }

Property Value

Number

A number.

Remarks

PropertyName

The propertyName read-only property of TransitionEvent objects is a string containing the name of the CSS property associated with the transition.

[Value("propertyName")]
public string PropertyName { get; }

Property Value

string

A string.

Remarks

PseudoElement

The TransitionEvent.pseudoElement read-only property is a
string, starting with '::', containing the name of the pseudo-element the animation runs on.
If the transition doesn't run on a pseudo-element but on the element, an empty string:
"".

[Value("pseudoElement")]
public string PseudoElement { get; }

Property Value

string

A string.

Remarks