Closed kobe651jp closed 1 year ago
Good day @kobe651jp
The scroll
function is not implemented in v2
yet.. You can use the browser native scroll functionality like:
osInstance().elements().viewport.scrollTop = 10;
// or
osInstance().elements().viewport.scrollIntoView();
// or
osInstance().elements().viewport.scroll({ top: 10 });
This is working perfectly! Thank you very much.
I'm trying to handle scroll to top/bottom.But getting error as follows.
TypeError osInstance.scroll is not a function
my usage
in my console showing
I thing get osInstance working fine.but scroll is not function! Is my usage wrong?