Detect on load of component dialog or page properties - AEM 6.4

cprogramkarthic 08-04-2019

Hi All,

I am using the below js function to perform certain logic during on load of component dialog and page properties.

$(document).on("foundation-contentloaded", function (e) {

//some logic here

});

I need to do different logic on load of page properties and on load of component dialog.

If i use

$document.on("dialog-ready", function () {

});

then i am able to perform the logic for on load of component dialog.

How can i find out if it is on load of page properties?

Accepted Solutions (1)

Accepted Solutions (1)

Answers (0)