getDefaultContainer function
Either finds, or creates an "acx-overlay-container" div at the end of body.
Implementation
@Injectable()
HtmlElement getDefaultContainer(
@Inject(overlayContainerName) Object name,
@Inject(overlayContainerParent) Object parent,
@Optional() @SkipSelf() @Inject(overlayContainerToken) Object? container) {
if (container != null) {
return container as HtmlElement;
}
return createAcxOverlayContainer(parent,
id: overlayDefaultContainerId, name: name as String);
}