add scroll test

This commit is contained in:
Shin'ya Ueoka 2018-02-14 21:48:19 +09:00
parent d4e4b75414
commit ffd1018fa7
2 changed files with 50 additions and 0 deletions

View file

@ -5,6 +5,8 @@ const get = () => {
yMax: element.scrollHeight - element.clientHeight,
x: element.scrollLeft,
y: element.scrollTop,
frameWidth: element.clientWidth,
frameHeight: element.clientHeight,
};
};