MCPcopy Index your code
hub / github.com/Almoullim/vue-tabevents

github.com/Almoullim/vue-tabevents @v1.1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.1.0 ↗ · + Follow
1 symbols 2 edges 3 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

vue-tabevents

npm npm npm

Easy communication between tabs for Vue 2.x

Basic Screenshot

Getting Started

Installing

Install with npm:

npm install --save vue-tabevents

import into project:

import Vue from 'vue';
import vueTabevents from 'vue-tabevents';

Vue.use(vueTabevents);

Usage

To an emit event to other tabs

this.$tabEvent.emit('eventName');

const data = {
    name: 'Ali'
    phone: 123
}

this.$tabEvent.emit('eventName', data);

To listen for events emitted by other types

this.$tabEvent.on('eventName', callback);

this.$tabEvent.on('eventName', (data) => console.log(data));

To stop listening to an event

this.$tabEvent.off('eventName');

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Core symbols most depended-on inside this repo

listner
called by 0
src/index.js

Shape

Function 1

Languages

TypeScript100%

Modules by API surface

src/index.js1 symbols

For agents

$ claude mcp add vue-tabevents \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact