How does vue get the distance the scroll bar scrolls?

for example, the following scroll bar gets the scroll length
clipboard.png

when scrolling.
Jun.02,2021

I'm sorry! Vue does not provide a corresponding api,vue is just a framework. If you don't use vue, you won't use javaScript . In the final analysis, you have to use js to get it, and it doesn't have much to do with whether you use vue or not.
the api for getting the scrolling distance is scrollLeft,. For more information, please see MDN .

//
var sLeft = element.scrollLeft;
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e5f9e7-4584c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e5f9e7-4584c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?