Enumeration: EcomHooks
This enumeration contains the possible hooks to use. See the example for more information.
Enumeration Members
CONTENT_CHANGE
• CONTENT_CHANGE = "contentChange"
A hook that is fired when the content of a section has been changed via the Content Creator. Not fired when a new section is created via 'Add content' button. Use CREATE_SECTION instead. This is a proxy for TPP.onContentChange.
CREATE_SECTION
• CREATE_SECTION = "createSection"
A hook that is fired when a new section is created via the 'Add Content' button in the Content Creator.
OPEN_STOREFRONT_URL
• OPEN_STOREFRONT_URL = "openStoreFrontUrl"
A hook that is fired when a new storefront page should be navigated to. For example on a report click in the Content Creator or a click on the Content Creator navigation.
REQUEST_PREVIEW_ELEMENT
• REQUEST_PREVIEW_ELEMENT = "requestPreviewElement"
A hook that is fired when the language is changed or an item is clicked in the Content Creator navigation. This is a proxy for TPP.onRequestPreviewElement.