From d8224014496518e8a38b3ef78eb21f7fc2463940 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Tue, 7 Aug 2018 14:24:38 -0700 Subject: [PATCH] docs(api.md): clarify coordinate system in mouse (#3041) --- docs/api.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/api.md b/docs/api.md index 946620e1..98c1a147 100644 --- a/docs/api.md +++ b/docs/api.md @@ -1890,6 +1890,8 @@ Dispatches a `keyup` event. ### class: Mouse +The Mouse class operates in main-frame CSS pixels relative to the top-left corner of the viewport. + #### mouse.click(x, y, [options]) - `x` <[number]> - `y` <[number]>