This article needs a technical review. How you can help.
This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the specification changes.
The transitionstart
event is fired when a CSS transition has started.
General infoEdit
- Interface
TransitionEvent
- Bubbles
- Yes
- Cancelable
- No
- Target
document
,element
- Default Action
- None
PropertiesEdit
Property | Type | Description |
---|---|---|
target Read only |
EventTarget |
The event target (the topmost target in the DOM tree). |
type Read only |
DOMString |
The type of event. |
bubbles Read only |
Boolean |
Whether the event normally bubbles or not |
cancelable Read only |
Boolean |
Whether the event is cancellable or not? |
propertyName Read only |
DOMString |
The name of the CSS property associated with the transition. |
elapsedTime Read only |
Float |
The amount of time the transition has been running, in seconds, when this event fired. Note that this value is not affected by the value of transition-delay . |
pseudoElement Read only |
DOMString |
The name (beginning with two colons) of the CSS pseudo-element on which the transition occured (in which case the target of the event is that pseudo-element's corresponding element), or the empty string if the transition occurred on an element (which means the target of the event is that element). |
SpecificationsEdit
Specification | Status | Comment |
---|---|---|
CSS Transitions Level 2 The definition of 'transitionstart' in that specification. |
Editor's Draft | Initial definition. |
Browser compatibilityEdit
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | ? | ? | 10 | ? | ? |
See alsoEdit
- The
TransitionEvent
interface transitionend
,transitioncancel
- CSS properties:
transition
,transition-delay
,transition-duration
,transition-property
,transition-timing-function
.