From 7c7b511c37a4f6e7d6ac1b5f1768df448b111b19 Mon Sep 17 00:00:00 2001 From: Diego Muracciole Date: Fri, 3 Feb 2017 07:25:09 -0300 Subject: [PATCH] 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 --- docs/reference-events.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/docs/reference-events.md b/docs/reference-events.md index 6e275db9..faec6dd2 100644 --- a/docs/reference-events.md +++ b/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) * * * @@ -286,9 +287,9 @@ number deltaZ Event names: ``` -onAbort onCanPlay onCanPlayThrough onDurationChange onEmptied onEncrypted -onEnded onError onLoadedData onLoadedMetadata onLoadStart onPause onPlay -onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend +onAbort onCanPlay onCanPlayThrough onDurationChange onEmptied onEncrypted +onEnded onError onLoadedData onLoadedMetadata onLoadStart onPause onPlay +onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting ``` @@ -338,3 +339,12 @@ string pseudoElement float elapsedTime ``` +* * * + +### Other Events + +Event names: + +``` +onToggle +```