fix(slider): dispatch on:input event (#1906)

Fixes #1643

The dispatched `on:change` event in `Slider` only fires when the slider thumb is released. `on:input` fires when actively dragging the thumb, and should fire on every increment (e.g., 1, 2, 3).
This commit is contained in:
mmamedel 2024-02-10 23:44:39 -05:00 committed by GitHub
commit 90dbd1562b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 8 additions and 0 deletions

View file

@ -3533,6 +3533,7 @@ None.
| Event name | Type | Detail |
| :--------- | :--------- | :------------------ |
| change | dispatched | <code>number</code> |
| input | dispatched | <code>number</code> |
| click | forwarded | -- |
| mouseover | forwarded | -- |
| mouseenter | forwarded | -- |