0.1.4 • Published 4 years ago

wy-to-top v0.1.4

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

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

参数说明

      参数                   说明                  类型       可选值        默认值

visibility-height   滚动高度达到此参数值才出现 	 number                     40
     type              使用pc端或者移动端          string    pc/mobile        pc
    container         移动端时传入页面滚动容器的class||id 名称

使用方法

    在入口文件main.js引入 例如:
        import wyToTop from 'wy-to-top'
        Vue.use(wyToTop)

使用例子

    <wy-to-top :visibility-height="200" type="mobile">
      <img src="../src/assets/to-top.png" alt="top">
    </wy-to-top>
0.1.4

4 years ago

0.1.2

4 years ago

0.1.3

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago