Socket
Socket
Sign inDemoInstall

now-activity-marquee

Package Overview
Dependencies
6
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    now-activity-marquee

活动跑马灯组件


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

now-activity-marquee 跑马灯组件

默认支持 onClick , onTouchStart 等 原生 DOM 事件, 可传入 style 进行自定义样式修改, 可传入子组件定义样式

API

属性说明类型默认值是否必传
text文字内容string''
autoPlay是否自动播放boolfalse
loop是否循环播放boolfalse

安装

npm install now-activity-marquee

传参示例

import Marquee from 'now-activity-marquee'

<Marquee
    text="不吹不黑,只能说IVWEB的now design很棒啊,用了的人都说好,哈哈"
    autoPlay={true}
    loop={true}
/>

Keywords

FAQs

Last updated on 18 Oct 2017

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