1.3.2 • Published 5 years ago

@uone/vue-scroll-top v1.3.2

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

@uone/vue-scroll-top

TODO: 返回顶部组件 支持pc端/手机端显示 可在插件内自定义内容 支持ie9

API

参数说明类型可选值默认值
visibility-height滚动高度达到此参数值才出现number40
type使用pc端或者移动端stringpc/mobilepc
container移动端时传入页面滚动容器的class/id 名称

Example

import VueScrollTop from '@uone/vue-scroll-top'
Vue.use(VueScrollTop)

html

<vue-scroll-top :visibility-height="200" type="mobile" container=".content">
    <img src="../src/assets/to-top.png" alt="top">
</vue-scroll-top>
1.3.2

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.2.1

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago