You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because n-scrollbar is an internal components, we don't expose the api. It is recommended that you use ref to obtain dom to monitor scroll events.
Of course, if you find it troublesome, you can do it this way, See https://codesandbox.io/s/7djjy?file=/src/Demo.vue:1103-1117.
Because n-scrollbar is an internal components, we don't expose the api. It is recommended that you use ref to obtain dom to monitor scroll events.
Of course, if you find it troublesome, you can do it this way, See https://codesandbox.io/s/7djjy?file=/src/Demo.vue:1103-1117.
This function solves the problem (这个功能解决的问题)
How to listen for scroll events?
Expected API (期望的 API)
<n-layout-content @scroll="scrollChange"/>
The text was updated successfully, but these errors were encountered: