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.
z-vue-marquee
Advanced tools
该组件以
:props
形式广播需要滚屏的消息内容。你无需在使用滚屏组件时进行动效处理,仅需向
<Marquee />
组件传递绑定props
对象即可。
该 Marquee
由 nj_zuoyang 完成封装。
(基础使用)
<template>
<marquee v-if="isShowMarquee" :marquee-list="priceList" />
</template>
<script>
export default {
data() {
return {
isShowMarquee: true,
priceList: [
'A公司成交15000元',
'B公司成交17000元',
'C公司成交13000元',
]
}
}
}
</script>
Marquee
提供了一些开放属性:
属性 | 说明 | 类型 | 是否必传 | 默认值 |
---|---|---|---|---|
speed | 设定滚动速度 | Number | 否 | 30 |
marqueeList | 滚屏内容 | Array | 是 | 无 |
marqueeList
必须为[String, string]
,不可传[Object, Object]
。有时你会遇到因调用远端数据而造成组件渲染错误,解决方法:为组件添加
v-if
属性,接口调用完毕后将其置为true
。
FAQs
This is a Vue horizontal scrolling marquee component.
The npm package z-vue-marquee receives a total of 0 weekly downloads. As such, z-vue-marquee popularity was classified as not popular.
We found that z-vue-marquee 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.