Browse Source

Add onToggle event to details tag (#8831)

* Add onToggle event to details tag

Fixes #8761

* Map onToggle event on ReactDOMFiberComponent

* Tweak doc

* Trap events on setInitialProperties for details tag
main
Diego Muracciole 8 years ago
committed by Dan Abramov
parent
commit
7c7b511c37
  1. 16
      docs/reference-events.md

16
docs/reference-events.md

@ -84,6 +84,7 @@ The event handlers below are triggered by an event in the bubbling phase. To reg
- [Image Events](#image-events) - [Image Events](#image-events)
- [Animation Events](#animation-events) - [Animation Events](#animation-events)
- [Transition Events](#transition-events) - [Transition Events](#transition-events)
- [Other Events](#other-events)
* * * * * *
@ -286,9 +287,9 @@ number deltaZ
Event names: Event names:
``` ```
onAbort onCanPlay onCanPlayThrough onDurationChange onEmptied onEncrypted onAbort onCanPlay onCanPlayThrough onDurationChange onEmptied onEncrypted
onEnded onError onLoadedData onLoadedMetadata onLoadStart onPause onPlay onEnded onError onLoadedData onLoadedMetadata onLoadStart onPause onPlay
onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend
onTimeUpdate onVolumeChange onWaiting onTimeUpdate onVolumeChange onWaiting
``` ```
@ -338,3 +339,12 @@ string pseudoElement
float elapsedTime float elapsedTime
``` ```
* * *
### Other Events
Event names:
```
onToggle
```

Loading…
Cancel
Save