Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

marquee-js

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

marquee-js

Marquee plugin with Javascript support

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by300%
Maintainers
1
Weekly downloads
 
Created
Source

marquee-js

Marquee plugin with Javascript support

Install

marquee-js

Development

# install
npm install --save marquee-js

# run
gulp server

# build
gulp build

Example

local: http://localhost:3001/

online: http://mapleliu.com/marquee-js/

Usage

用于处理文字,超长自动循环滚动;

<script src='marquee.js'></script>
marqueeJs(dom,options);

API

props

参数说明类型默认值单位
dom需要处理的dom元素HTMLElement--
options配置项Object--

options

参数说明类型默认值单位
speed更新速度Number-ms(毫秒)/px(象素)
width自定义元素宽度Number元素自身宽度px
height自定义元素高度Number元素自身高度px
delay延时时长Number0ms

Keywords

FAQs

Package last updated on 14 Dec 2017

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

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc