Skip to content

Commit 8c83058

Browse files
author
李杰
committed
v1.24
1 parent 3217ab0 commit 8c83058

File tree

11 files changed

+423
-110
lines changed

11 files changed

+423
-110
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ import {StickyNav} from 'vue-sticky-nav'
5050
scrollAnimate:true,
5151
scrollShow:false,
5252
disable:false,
53+
scrollDownHide:false
5354
zIndex:1000,
5455
stickyTop:-1,
5556
threshold:0,
@@ -64,6 +65,7 @@ import {StickyNav} from 'vue-sticky-nav'
6465
* `disabled` : 是否禁用吸顶,默认是false
6566
* `scrollAnimate` : 导航滚动是否开启动画,默认是true
6667
* `scrollShow`: 是否滚动到楼层才展示,默认false
68+
* `scrollDownHide`: 是否向下滚动时隐藏,向上和静止时展示展示 默认false
6769
* `zIndex` : 层级,默认1000
6870
* `stickyTop`: 吸顶距离顶部的位置,默认-1
6971
* `threshold`: 到达内容之前多少像素则选中 默认0

dist/build.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.html

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
<!DOCTYPE html>
22
<html lang="en">
3-
<head>
3+
4+
<head>
45
<meta charset="utf-8">
56
<meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport">
67
<meta content="telephone=no" name="format-detection">
78
<title>vue-sticky-nav</title>
8-
</head>
9-
<body>
9+
</head>
10+
11+
<body>
1012
<div id="app"></div>
11-
<script src="build.js"></script>
12-
</body>
13-
</html>
13+
<script src="./build.js"></script>
14+
</body>
15+
16+
</html>

dist/vue-sticky-nav.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)