cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
226
Views
0
Helpful
0
Replies

Events in Macro programming

steven.gauthier
Beginner
Beginner

Hello, Is it possible to create our own events in the macro framework, something like this?

const event = new Event('build');

// Listen for the event.
elem.addEventListener('build', function (e) { /* ... */ }, false);

// Dispatch the event.
elem.dispatchEvent(event);

Thank you 

0 Replies 0
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Recognize Your Peers