CQ.CoreComponents.panelcontainer.v1.AFTER_CHILD_DELETE eventlistner node property | Community
Skip to main content
ajinkayk6258253
Level 3
November 28, 2019
Solved

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

  • November 28, 2019
  • 1 reply
  • 4142 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Hemant_arora

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

1 reply

Hemant_arora
Hemant_aroraAccepted solution
Level 8
November 29, 2019

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