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

react-marquee

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

react-marquee - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

README.md

8

lib/index.js

@@ -61,2 +61,10 @@ 'use strict';

},
componentWillReceiveProps: function componentWillReceiveProps(nextProps) {
if (this.props.text.length != nextProps.text.length) {
clearTimeout(this._marqueeTimer);
this.setState({
animatedWidth: 0
});
}
},
handleMouseEnter: function handleMouseEnter() {

@@ -63,0 +71,0 @@ if (this.props.hoverToStop) {

2

package.json
{
"name": "react-marquee",
"version": "0.1.0",
"version": "0.1.1",
"description": "A <marquee> component for React",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -55,2 +55,12 @@ import React, {PropTypes} from 'react';

componentWillReceiveProps(nextProps) {
if(this.props.text.length != nextProps.text.length)
{
clearTimeout(this._marqueeTimer);
this.setState({
animatedWidth: 0
});
}
},
handleMouseEnter() {

@@ -57,0 +67,0 @@ if (this.props.hoverToStop) {

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