Skip to main content

Introduction

GitHub Licensenpm versionnpm minified sizenpm total downloads

🔥warning

WIP Package currently only supporting React!

Handy package for emitting UI updates

Events are handy for emitting UI updates and passing data with them.

const MY_EVENT = new Event(App);
MY_EVENT.on((data) => {console.log("hello there " + data.name)}); // Print 'hello there jeff' if Event gets triggered
MY_EVENT.trigger({name: "jeff"}); // Trigger Event