pineco.de
Creating a JavaScript Event Bus - Pine
With the help of the event bus, we are able to broadcast JavaScript event across different “platforms”. For example, we can trigger a Vue component’s method from a native JavaScript event. Let’s see how! Getting Started Recently, I bumped into a problem, when I had to trigger Vue components from native JavaScript. Sometimes we can’t …