Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
@marsong11/vue-marquee
Advanced tools
A Vue component to marquee,horizontally scrolling when the text is too long
滚动组件,支持文本过长时横向滚动
npm install @marsong11/vue-marquee
# or
yarn add @marsong11/vue-marquee
<template>
<div class="container">
<marquee :data="list" />
</div>
</template>
<script>
import Marquee from '@marsong11/vue-marquee';
export default {
components: {
Marquee
},
,
data() {
return {
list: [
'data1 some text.',
'data2 balabalabalabala.',
'data3 long long long long long long long long long long long text.',
'data4 hahaha.'
]
};
}
};
</script>
Name | Type | Default | Description |
---|---|---|---|
data | Array | [] | content |
duration | Number | 300 | duration of transition between items (in ms) |
delay | Number | 2500 | delay between transitions (in ms). |
scrollSpeed | Number | 60 | the speed of the scrolling (keep number low) |
pauseOnHover | Boolean | false | pause on hover |
FAQs
A Vue component to marquee
The npm package @marsong11/vue-marquee receives a total of 1 weekly downloads. As such, @marsong11/vue-marquee popularity was classified as not popular.
We found that @marsong11/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
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.