Socket
Socket
Sign inDemoInstall

rc-marquee

Package Overview
Dependencies
446
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    rc-marquee

文字滚动


Version published
Weekly downloads
1
Maintainers
1
Install size
13.6 MB
Created
Weekly downloads
 

Readme

Source

rc-marquee

文字滚动

demo

https://yemuguliunian.github.io/rc-marquee/doc/index.html#/demo

使用示例

import Marquee from 'Marquee';

<Marquee space={100} speed={10} delay={3000} scrollType="hover">
    领域驱动设计的核心是“领域”,因此要运用领域驱动设计,从一开始就要让团队走到正确的点上。当我们组建好了团队之后,应该从哪里开始?不是UI原型设计,不是架构设计,不是设计数据库,这些事情重要却非最高优先级。
 </Marquee>

API

参数说明类型默认值
classNameclassNamestring
stylestyleobject
delay延迟滚动(ms)number1000
speed滚动速度number20
space滚动衔接的间距(px)number30
scrollType滚动模式('auto'|'hover')stringauto

Keywords

FAQs

Last updated on 03 Dec 2018

Did you know?

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc