Skip to content
On this page

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

modifierdescription
xscroll x axis
yscroll y axis

Released under the MIT License.