Special functions

These functions are all called before Automizy Email Editor is visible. To check how they work reload this page, and inspect the console log.

$AEE.init()

This function starts to load the Automizy Email Editor in the background.
Please note that after loading finished, AEE won't show up automatically, you have to call the $AEE.open() function too.
//Call the $AEE.init() function from console, and then the $AEE.open() function to open the editor.
$AEE.init(console.log('INIT STARTED!')); //return $AEE
                

$AEE.scriptLoaded(function(editorStatus){})

The function given as parameter will be called when a plugin is fully loaded. The function will get data about the status of the editor as parameter.
Parameters:
editorStatus: Loading data of the editor.
$AEE.scriptLoaded(function(editorStatus){
    console.log('PLUGIN LOAD: ', editorStatus);
}); //return $AEE
$AEE.init();
                

$AEE.ready(function(){})

The anonymus function given as parameter will be called when all plugis are fully loaded.
Please note that at this state the elements of the editor are not available yet.
$AEE.ready(function(){
    console.log('ALL PLUGIN LOADED');
}); //return $AEE
                

$AEE.layoutReady(function(){})

The anonymus function given as parameter will be called when the editor is fully loaded. In this state all elements of the editor are available.
$AEE.layoutReady(function(){
    console.log('LAYOUT READY');
}); //return $AEE
                

$AEE.open()

This function opens the editor.
$AEE.open('AEE OPENED!'); //return $AEE
                

$AEE.close()

This function closes the editor.
$AEE.close('AEE CLOSED!'); //return $AEE