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. 10
      docs/reference-events.md

10
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)
- [Animation Events](#animation-events)
- [Transition Events](#transition-events)
- [Other Events](#other-events)
* * *
@ -338,3 +339,12 @@ string pseudoElement
float elapsedTime
```
* * *
### Other Events
Event names:
```
onToggle
```

Loading…
Cancel
Save