Skip to content

Commit a1bd9fe

Browse files
committed
update READM.md
1 parent 0a12fd8 commit a1bd9fe

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

README.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1432,6 +1432,7 @@ Of course, if you're making any sort of significant form, [you should use Formik
14321432
| FormEvent | Event that occurs whenever a form or form element gets/loses focus, a form element value is changed or the form is submitted. |
14331433
| InvalidEvent | Fired when validity restrictions of an input fails (e.g `<input type="number" max="10">` and someone would insert number 20). |
14341434
| KeyboardEvent | User interaction with the keyboard. Each event describes a single key interaction. |
1435+
| InputEvent | Event that occurs before the value of `<input>`, `<select>` and `<textarea>` changes. |
14351436
| MouseEvent | Events that occur due to the user interacting with a pointing device (e.g. mouse) |
14361437
| PointerEvent | Events that occur due to user interaction with a variety pointing of devices such as mouse, pen/stylus, a touchscreen and which also supports multi-touch. Unless you develop for older browsers (IE10 or Safari 12), pointer events are recommended. Extends UIEvent. |
14371438
| TouchEvent | Events that occur due to the user interacting with a touch device. Extends UIEvent. |
@@ -1440,19 +1441,6 @@ Of course, if you're making any sort of significant form, [you should use Formik
14401441
| WheelEvent | Scrolling on a mouse wheel or similar input device. (Note: `wheel` event should not be confused with the `scroll` event) |
14411442
| SyntheticEvent | The base event for all above events. Should be used when unsure about event type |
14421443

1443-
<details>
1444-
<summary><b>What about <code>InputEvent</code>?</b></summary>
1445-
1446-
You've probably noticed that there is no `InputEvent`. This is because it is not supported by Typescript as the event itself has no fully browser support and may behave differently in different browsers. You can use `KeyboardEvent` instead.
1447-
1448-
Sources:
1449-
1450-
- https://github.com/microsoft/TypeScript/issues/29441
1451-
- https://developer.mozilla.org/en-US/docs/Web/API/InputEvent
1452-
- https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event
1453-
1454-
</details>
1455-
14561444
<!--END-SECTION:forms-and-events-->
14571445

14581446
<!--START-SECTION:context-->

0 commit comments

Comments
 (0)