how to listen to custom methods / events on Object.
I have my own custom method in the window object.
example:
window.example = { example1: () =&g