Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
react-marquee-double
Advanced tools
This is React component which enable use <marquee> tag. Instead of implementing the single effects, I did double. Marquee is a tag which is extremely opposed to the use of MDN(https://developer.mozilla.org/ko/docs/Web/HTML/Element/marquee), but there is a need to write. This marquee is recommended that the elements to flow must be used when the width of elements is longer than the width of the screen.
리액트에서 <marquee> tag를 사용할 수 있도록한 component입니다. 단순 <marquee>의 효과를 구현한 것이 아니라 double, 이중으로 흐르도록 하였습니다. <marquee>는 MDN(https://developer.mozilla.org/ko/docs/Web/HTML/Element/marquee) 에서 굉장히 사용을 반대하고 있는 tag이지만, 꼭 써야할 상황이 있습니다. 이 marquee component는 흐르게할 요소가 반드시 화면의 너비보다 길때 사용하는것을 권합니다.
You can install this Component following below (at terminal)
npm install react-marquee-double
You can use this Component like this
import MarqueeDouble from 'react-marquee-double';
...
// JSX
<MarqueeDouble
ref={(ref) => {this.marquee = ref}}
step={1} interval={20}
autoStart={true}
direction={'left'}
delay={1000}
onStart={()=>{this.marquee.delay()}}>
<h1>I’m like TT Just like TT Tell me that you’d be my baby</h1>
</MarqueeDouble>
It is value that how much repeat moving.
It is the margin value between element and element.
It is the px value of how much it will move at 1 loop. (unit is px)
It is a function that executes when the element reach first place(default place).
It is the value of how often the element move.
It is direction of element moving
('left' or 'right')
It is the value of whether or not to start automatically.
It is delay time value. It is used in delay().
Not yet.
Not yet.
It is css 'left' value of moving element. (unit is px)
It is css 'right' value of moving element. (unit is px)
It is width of the element you want to move. (unit is px)
It is width of the container element of you want to move. (unit is px) (Most cases, It is equal to containerWidth)
It is width of the container element of you want to move. (unit is px) (Most cases, It is equal to moverWidth)
It is width of viewPort
It is start of element moving
It stops element
It is used for delay. First, stop and wait then start
It moves the element.
FAQs
no dependencies, React marquee-double component
The npm package react-marquee-double receives a total of 75 weekly downloads. As such, react-marquee-double popularity was classified as not popular.
We found that react-marquee-double demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.