New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ks-unlimited-marquee

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ks-unlimited-marquee

ks-unlimited-marquee React component

  • 1.0.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
Maintainers
1
Weekly downloads
 
Created
Source

ks-unlimited-marquee

A unidirectional scrollable React component.

Feature

  • Unlimited scrolling
  • Mouse events
  • Tooltip

Install

npm install ks-unlimited-marquee

Usage

import UnlimitedMarquee from 'ks-unlimited-marquee';


class Demo extends Component {
  render() {

    return (
      const content = (
        <ul>
          <li>新闻1</li>
          <li>新闻2</li>
          <li>新闻3</li>
          <li>新闻4</li>
          <li>新闻5</li>
          <li>新闻6</li>
          <li>新闻7</li>
          <li>新闻8</li>
          <li>新闻9</li>
          <li>新闻10</li>
          <li>新闻11</li>
        </ul>
      );
      <div>
        <UnlimitedMarquee
          content={content}
        />
      </div>
    )
  }
}

render(<Demo/>, document.querySelector('#demo'));

Example

https://ttop5.github.io/ks-unlimited-marquee/demo/dist

API

NameTypeDefaultDescriptionisRequired
speedNumber20scrolling speed, 0 < speed <= 1000false
contentelementelementtrue

Development

git clone https://github.com/ttop5/ks-unlimited-marquee.git
cd ks-unlimited-marquee
npm install
npm start

License

ks-unlimited-marquee is released under the MIT license.

Keywords

FAQs

Package last updated on 19 Sep 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