Socket
Book a DemoInstallSign in
Socket

z-vue-autoscroll

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

z-vue-autoscroll

Realize Vue automatic scrolling effect.

1.0.0
latest
npmnpm
Version published
Maintainers
1
Created
Source

AutoScroll 重封装组件说明

封装说明

该组件以 slot 插槽形式广播需要滚屏的消息内容。

你无需在使用滚屏组件时进行动效处理,仅需向 <AutoScroll /> 组件传递绑定 prop 对象即可。

AutoScroll 由 nj_zuoyang 完成封装。

(基础使用)

<template>
  <auto-scroll height="2.7rem" style="display: inline-block">
    <div>2021.8.16 金融服务平台换新升级</div>
    <div>2021.8.16 金融服务平台换新升级金融服务平台换新升级</div>
    <div>2021.8.16 金融服务平台换新升级</div>
    <div>2021.8.16 金融服务平台换新升级金融服务平台换新升级</div>
    <div>2021.8.16 金融服务平台换新升级</div>
  </auto-scroll>
</template>

内置属性

AutoScroll 自带属性外,还提供了一些额外属性:

属性说明类型默认值
speed设定滚动速度Number90
height设定容器高度String0px

FAQs

Package last updated on 16 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.