TransitionEventInit Class
The initialization dictionary of TransitionEvent (https://drafts.csswg.org/css-transitions-1/#dictdef-transitioneventinit).
public sealed class TransitionEventInit : EventInit- Inheritance
EventInitTransitionEventInit
Constructors
| Name | Description |
|---|---|
| TransitionEventInit() |
TransitionEventInit()
TransitionEvent.cspublic TransitionEventInit()No documentation is available.
Properties
| Name | Description |
|---|---|
| Animation | Gets the transition that generated the event. |
| ElapsedTime | Gets the elapsed time of the transition, in seconds. |
| PropertyName | Gets the name of the transitioned property. |
| PseudoElement | Gets the pseudo-element the transition runs on (e.g. ::before), or the empty string. |
Animation
TransitionEvent.csGets the transition that generated the event.
public CssTransition? Animation { get; init; }ElapsedTime
TransitionEvent.csGets the elapsed time of the transition, in seconds.
public double ElapsedTime { get; init; }Property value
See also
PropertyName
TransitionEvent.csGets the name of the transitioned property.
public string PropertyName { get; init; }Property value
See also
PseudoElement
TransitionEvent.csGets the pseudo-element the transition runs on (e.g. ::before), or the empty string.
public string PseudoElement { get; init; }