mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Update ref-05-events.md
use backticks and change example into its own sentence
This commit is contained in:
@@ -35,7 +35,9 @@ String type
|
||||
## Supported Events
|
||||
|
||||
React normalizes events so that they have consistent properties across
|
||||
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: onClick -> onClickCapture).
|
||||
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.
|
||||
|
||||
|
||||
### Clipboard Events
|
||||
|
||||
Reference in New Issue
Block a user