
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
announcekit-vue
Advanced tools
Supply Chain Security
Vulnerability
Quality
Maintenance
License
The easiest way to use AnnounceKit widgets in your VueJS App.
Visit https://announcekit.app to get started with AnnounceKit. CodeSandbox Demo
yarn add announcekit-vue
<template>
<nav>
<ul>
<li>
<a href="/home">Home</a>
</li>
<li>
<a href="/product">Product</a>
</li>
<li>
<AnnounceKit
widget="https://announcekit.app/widgets/v2/31nbbO"
:user="optional_UserData"
:data='optional_SegmentationData' />
</li>
</ul>
</nav>
</template>
<script>
export default {
name: "App"
};
</script>
import {createApp} from 'vue';
import App from './App.vue';
import AnnounceKit from 'announcekit-vue';
const app = createApp(App);
app.use(PrimeVue);
app.use(AnnounceKit);
...
app.mount('#app');
Common props you may want to specify include:
widget
- The url of the widget. You can obtain it while creating or editing widget in AnnounceKit Dashboard.style
- You can apply CSS rules to modify / tune the position of the widget.floatWidget
- Set true if the widget is a Float widget.embedWidget
- Set true if the widget is a Embed widget.boosters
- In case you don't want to boosters appear on the page the widget is placed.user
- User properties (for user tracking)data
- Segmentation datalang
- Language selectoronWidgetOpen
- Called when the widget is opened.onWidgetClose
- Called when the widget is closed.onWidgetResize
- Called when the widget is resized.onWidgetUnread
- Called when unread post count of widget has been updated.You can use ref
property to access the widget instance and call control functions
open()
close()
unread()
instance()
<template>
<a @click="() => this.$refs.ankRef.open()">What's New</a>
<AnnounceKit ref="ankRef" widget="https://announcekit.co/widgets/v2/2nI0Ok" />
</template>
<script>
import AnnounceKit from "announcekit-vue";
...
</script>
FAQs

The npm package announcekit-vue receives a total of 4,473 weekly downloads. As such, announcekit-vue popularity was classified as popular.
We found that announcekit-vue 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 researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.