Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

CQ.CoreComponents.panelcontainer.v1.AFTER_CHILD_DELETE eventlistner node property

Avatar

Level 3

Hi,

was going through a component in a helpx project, saw CQ.CoreComponents.panelcontainer.v1.AFTER_CHILD_DELETE property at eventlister node under edit:config node? is it predefined value like REFRESH_PAGE?

1 Accepted Solution

Avatar

Correct answer by
Level 9

Its a function that handles an afterChildDelete listener for a container component like carousel. It refreshes the component and navigates to the correct active item in the container component.

Refer to /apps/core/wcm/components/commons/editor/clientlibs/panelcontainer/v1/js/panelContainerActions.js

View solution in original post

1 Reply

Avatar

Correct answer by
Level 9

Its a function that handles an afterChildDelete listener for a container component like carousel. It refreshes the component and navigates to the correct active item in the container component.

Refer to /apps/core/wcm/components/commons/editor/clientlibs/panelcontainer/v1/js/panelContainerActions.js