setContainer(container){
      const previousContainer =  this.container;
      this.container = container;

      this.resizeObserver.unobserve(previousContainer);
      this.resizeObserver.observe(container);
  }
Set a new container. Useful in cases where
the container reference changes for any reason.

@param container {HTMLElement}