mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
docs(site): document wheelStep prop and scroll support in VolumeSlider (#1195)
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com> Co-authored-by: rahim <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
claude[bot] <41898282+claude[bot]@users.noreply.github.com>
rahim <github-actions[bot]@users.noreply.github.com>
parent
390b004d80
commit
809964e572
@@ -70,6 +70,10 @@ Renders with `role="slider"` and automatic `aria-label` of "Volume". Override wi
|
||||
- <kbd>Home</kbd>: set volume to 0
|
||||
- <kbd>End</kbd>: set volume to max
|
||||
|
||||
Scroll wheel support:
|
||||
|
||||
- **Mouse wheel / trackpad scroll**: adjusts volume by `wheelStep` increment (default `5`)
|
||||
|
||||
## Examples
|
||||
|
||||
Nest sub-components for full control over the slider's DOM structure. This example includes a track, fill bar, draggable thumb, and a tooltip that shows the volume percentage on hover.
|
||||
|
||||
Reference in New Issue
Block a user