Attach containers within a DOM subtree. Each matching element is initialized as a container, and its ContainerConfigurator.provider is started when one of its ContainerConfigurator.breakpoints is active.
Call this function after the ADK configuration is initialized and containers are rendered in the document.
Optionalelem: TargetElementADK will look for container elements in the subtree of the specified element and attach them. Defaults to Document.body.
Create a container configurator.
Detach containers within a DOM subtree from ADK. Detaching releases ADK's state and runs cleanup, but does not remove the elements from the DOM.
This is generally only needed for special cases when manipulating containers dynamically.
Optionalelem: TargetElementADK will look for container elements in the subtree of the specified element and detach them. Defaults to Document.body.
Insert a container element at runtime.
Prefer adding container elements directly to the page HTML when possible. Dynamic insertion depends on the target selector and surrounding DOM remaining stable. Also make sure the website supports adding elements on the fly using raw DOM manipulation.
The name of the container to insert.
The target element or selector where the container should be inserted.
Optionalcommand: InsertCommandThe insertion command. Defaults to 'append'.
The newly inserted container element.
Provides methods for configuring containers and managing their lifecycle in the DOM.