Merge pull request #4554 from chernysh/chernysh-added-docs-img-events

Added documentation for <img> events
(cherry picked from commit 7f119d41c7)
This commit is contained in:
Sebastian Markbåge
2015-08-07 11:07:24 -07:00
committed by Paul O’Shannessy
parent 62487d9233
commit 2dc652a900
+9 -1
View File
@@ -37,7 +37,7 @@ string type
## Supported Events
React normalizes events so that they have consistent properties across
different browsers.
different browsers.
The event handlers below are triggered by an event in the bubbling phase. To register an event handler for the capture phase, append `Capture` to the event name; for example, instead of using `onClick`, you would use `onClickCapture` to handle the click event in the capture phase.
@@ -198,3 +198,11 @@ Number deltaX
Number deltaY
Number deltaZ
```
### Image Events
Event names:
```
onLoad onError
```