
Research
/Security News
npm Author Qix Compromised in Major Supply Chain Attack
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
v-breaking-news-ticker
Advanced tools
yarn add v-breaking-news-ticker # or npm i v-breaking-news-ticker
import { createApp } from 'vue'
import App from './App.vue'
import { BreakingNewsTicker } from 'v-breaking-news-ticker'
import 'v-breaking-news-ticker/dist/vue3/breaking-news-ticker.min.css'
const app = createApp(App)
app.use(BreakingNewsTicker);
app.mount('#app')
<script setup>
import { BreakingNewsTicker } from 'v-breaking-news-ticker'
import 'v-breaking-news-ticker/dist/vue3/breaking-news-ticker.min.css'
</script>
<script src="https://unpkg.com/vue@3"></script>
<script src="https://unpkg.com/v-breaking-news-ticker"></script>
<link
rel="stylesheet"
href="https://unpkg.com/v-breaking-news-ticker/dist/vue3/breaking-news-ticker.min.css"
>
<script>
const app = Vue.createApp({})
app.use(BreakingNewsTicker)
app.mount('#app')
</script>
import Vue from "vue";
import { BreakingNewsTicker } from "v-breaking-news-ticker";
import 'v-breaking-news-ticker/dist/vue2/breaking-news-ticker.min.css'
Vue.use(BreakingNewsTicker);
import { BreakingNewsTicker } from "v-breaking-news-ticker";
import 'v-breaking-news-ticker/dist/vue2/breaking-news-ticker.min.css'
export default {
components: {
BreakingNewsTicker,
}
}
<script src="https://unpkg.com/vue@2"></script>
<script src="https://unpkg.com/v-breaking-news-ticker"></script>
<link
rel="stylesheet"
href="https://unpkg.com/v-breaking-news-ticker/dist/vue2/breaking-news-ticker.min.css"
>
<script>
new Vue({
el: "#app"
});
Vue.use(BreakingNewsTicker);
</script>
<breaking-news-ticker :news="breakingNews.news" :config="breakingNews.config">
</breaking-news-ticker>
<script setup>
const breakingNews = {
news: [
{
id: 0,
title: 'Breaking News Title - 1'
},
{
id: 1,
title: 'Breaking News Title - 2'
},
{
id: 2,
title: 'Breaking News Title - 3'
},
],
config: {
rtl: false,
borderColor: '#EF7B7B',
label: {
title: 'Breaking News',
bgColor: '#EF7B7B',
color: '#fff'
},
news: {
animation: {
effect: 'slide-down' //slide-down - slide-up - slide-right - scroll
}
},
navigation: {
autoPlay: true,
duration: 5000,
bgColor: '#f6f6f6'
}
}
}
</script>
Note that all props are compulsory.
Name | Type | Default | Description |
---|---|---|---|
news | Array | [] | For the news you want to show |
FAQs
Vue Breaking News Ticker
The npm package v-breaking-news-ticker receives a total of 2 weekly downloads. As such, v-breaking-news-ticker popularity was classified as not popular.
We found that v-breaking-news-ticker 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
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.