Browse Source

Added support for synthetic animation/transition events.

main
Miles Johnson 9 years ago
parent
commit
b3e32f5804
  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