Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 99e520c

Browse files
update demo
1 parent aec95cd commit 99e520c

File tree

1 file changed

+27
-14
lines changed

1 file changed

+27
-14
lines changed

‎dist/demo.html

Lines changed: 27 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,30 @@
1-
<meta charset="utf-8">
2-
<title>vueScrollbar demo</title>
3-
<script src="https://unpkg.com/vue"></script>
4-
<script src="./vueScrollbar.umd.js"></script>
1+
<!DOCTYPE html>
2+
<html lang="en">
53

4+
<head>
5+
<meta charset="UTF-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>demo</title>
8+
</head>
69

7-
<divid="app">
8-
<demo></demo>
9-
</div>
10+
<body>
11+
<scriptsrc="https://unpkg.com/vue"></script>
12+
<scriptsrc="https://unpkg.com/vue-custom-scrollbar@1.3.0/dist/vueScrollbar.umd.min.js"></script>
1013

11-
<script>
12-
new Vue({
13-
components: {
14-
demo: vueScrollbar
15-
}
16-
}).$mount('#app')
17-
</script>
14+
15+
<div id="app">
16+
<demo style="height:500px;width:500px">
17+
<div style="height:1000px;width:1000px;background:green"></div>
18+
</demo>
19+
</div>
20+
21+
<script>
22+
new Vue({
23+
components: {
24+
demo: vueScrollbar
25+
}
26+
}).$mount('#app')
27+
</script>
28+
</body>
29+
30+
</html>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /