Browse Source

Merge pull request #6005 from milesj/synthetic-transition

Added support for synthetic animation/transition events.
main
Paul O’Shannessy 9 years ago
parent
commit
849bf84091
  1. 37
      docs/ref-05-events.md

37
docs/ref-05-events.md

@ -139,6 +139,7 @@ DOMEventTarget relatedTarget
These focus events work on all elements in the React DOM, not just form elements. These focus events work on all elements in the React DOM, not just form elements.
### Form Events ### Form Events
Event names: Event names:
@ -246,6 +247,7 @@ number deltaY
number deltaZ number deltaZ
``` ```
### Media Events ### Media Events
Event names: Event names:
@ -254,6 +256,7 @@ Event names:
onAbort onCanPlay onCanPlayThrough onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onAbort onCanPlay onCanPlayThrough onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting
``` ```
### Image Events ### Image Events
Event names: Event names:
@ -261,3 +264,37 @@ Event names:
``` ```
onLoad onError onLoad onError
``` ```
### Animation Events
Event names:
```
onAnimationStart onAnimationEnd onAnimationIteration
```
Properties:
```javascript
string animationName
string pseudoElement
float elapsedTime
```
### Transition Events
Event names:
```
onTransitionEnd
```
Properties:
```javascript
string propertyName
string pseudoElement
float elapsedTime
```

Loading…
Cancel
Save