Designer ready method

We have implemented an easy way of integrating your custom code to the editor using the the ppDesignerInitialized method which can be hooked to the global page. This method is invoked once the app has started and the event bus is ready for use.

window.ppDesignerInitialized = function(_class) {
	if ( === 'client') {
		// this was invoked by the client
	} else if ( === 'frame') {
		// this was invoked by the frame

As explained in the section  Events, version 9 loads the app in an iFrame, which is created by a client class sitting on the parent page (your page). Both the frame and client gets to invoke your function if placed in the customJs section of your settings page.

Still need help? Contact Us Contact Us