I am trying to listen to a an event that is fired by a game when it is fully loaded.
window.addEventListener('gameReady', function(event) {
console.log(event.data);
});
I know that the gameReady is fired when it is ready to play. IS the above code correct and is there anyway way I can view NON CLICK/INTERFACE events in the Chrome console?
Thanks