mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
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:
committed by
Paul O’Shannessy
parent
62487d9233
commit
2dc652a900
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user