vue-e-bus

Simple event bus
35,620
Install
npm install vue-e-bus
Latest Version:1.0.0
Vue:2
License:MIT
Last Updated:Apr 16, 2018
Links: npm
Maintainer: leonardovilarinho

Event bus for Vue

Use this plugin for emit events for anywhere components, e.g:

import EventBus from '@m/bus'
// in a component
mounted () {
  EventBus.$emit('message', 'Hello')
}

// in another component
mounted () {
  EventBus.$on('message', (message) => alert(`Say: ${message}`))
}

// output: Say: Hello

Related Packages

vue-happy-bus

Event Bus for Vue2. automatically cancel listening events when destroyed.

3,727 105
vue-event-hub

a global event hub fro vue2

9,523
vue-bus

A event bus for Vue.js

338,089 309
vue-event-manager

The event manager for Vue.js

3,476 79
@fullcalendar/core

FullCalendar core types package

89,463,914 20,704

Version History

Version Released License
1.0.0 MIT