v-scrollbar
Uses native scrolling (overflow: scroll
) but hides the native scrollbars and displays our own.
v-scrollbar.x.y
: scrolling both axis
v-scrollbar.x
| v-scrollbar.y
: scrolling one axis
CAUTION: in pug, you need to use v-scrollbar.x=""
(empty value)
html
<div v-scrollbar.x.y="">
<div></div>
<div></div>
<div></div>
</div>
modifiers
modifier | description |
---|---|
x | scroll x axis |
y | scroll y axis |