Javascript: ComponentSettings.replaceContainer Property
Description
Optional. Replace the container element instead of appending ourselves to it as a child.
Syntax
<boolean> ComponentSettings.replaceContainerExamples
The following example demonstrates ComponentSettings.replaceContainer in a practical document-editing workflow. Optional. Replace the container element instead of appending ourselves to it as a child.
function inspectReplaceContainer(componentSettings) {
const replaceContainer = componentSettings.replaceContainer;
console.log("replace container:", replaceContainer);
}