docs(api): fix description of mouse wheel options (#6643)

This commit is contained in:
edtam 2020-12-02 22:41:11 +08:00 committed by GitHub
parent 6f73db8858
commit a16cb8cef4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2658,8 +2658,8 @@ Dispatches a `mouseup` event.
#### mouse.wheel([options])
- `options` <[Object]>
- `deltaX` X delta in CSS pixels for mouse wheel event (default: 0). Positive values emulate a scroll up and negative values a scroll down event.
- `deltaY` Y delta in CSS pixels for mouse wheel event (default: 0). Positive values emulate a scroll right and negative values a scroll left event.
- `deltaX` X delta in CSS pixels for mouse wheel event (default: 0). Positive values emulate a scroll right and negative values a scroll left event.
- `deltaY` Y delta in CSS pixels for mouse wheel event (default: 0). Positive values emulate a scroll down and negative values a scroll up event.
- returns: <[Promise]>
Dispatches a `mousewheel` event.