vue2-scroll-box
Version:
A vue scroll box component, support pull-down and pull-up event, support interaction by both mouse and touch.
41 lines (37 loc) • 1.02 kB
HTML
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>My Docs</title>
<link rel="stylesheet" href="https://unpkg.com/docute@4/dist/docute.css">
</head>
<body>
<div id="docute"></div>
<script src="https://unpkg.com/docute@4/dist/docute.js"></script>
<script>
new Docute({
target: '#docute',
sidebar: [
{
title: 'Components',
links: [
{
title: 'App',
link: '/components/App'
},
{
title: 'return-top-button',
link: '/components/return-top-button'
},
{
title: 'scroll-box',
link: '/components/scroll-box'
}
]
}
]
})
</script>
</body>
</html>