-
-
Save jtsternberg/0b3f93994b5654b16715e6960b0cf2f7 to your computer and use it in GitHub Desktop.
Runs before a new window is opened based on an action.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.addEventListener('om.Action.window', function(event) { | |
// This event is passed the Campaign object | |
console.log(event.detail.Campaign); | |
// This event is passed the Action object | |
console.log(event.detail.Action); | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment