Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
z-vue-marquee
Advanced tools
Readme
该组件以
: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 1 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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.