mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
Merge pull request #5142 from MaxPRafferty/add-selection-and-composition-events-on-reference-page
Add selection and composition events on reference page
This commit is contained in:
@@ -82,6 +82,22 @@ DOMDataTransfer clipboardData
|
||||
```
|
||||
|
||||
|
||||
### Composition Events
|
||||
|
||||
Event names:
|
||||
|
||||
```
|
||||
onCompositionEnd onCompositionStart onCompositionUpdate
|
||||
```
|
||||
|
||||
Properties:
|
||||
|
||||
```javascript
|
||||
string data
|
||||
|
||||
```
|
||||
|
||||
|
||||
### Keyboard Events
|
||||
|
||||
Event names:
|
||||
@@ -166,6 +182,15 @@ boolean shiftKey
|
||||
```
|
||||
|
||||
|
||||
### Selection events
|
||||
|
||||
Event names:
|
||||
|
||||
```
|
||||
onSelect
|
||||
```
|
||||
|
||||
|
||||
### Touch events
|
||||
|
||||
Event names:
|
||||
|
||||
Reference in New Issue
Block a user