code: async function getOrCreateHypergrid(div) {
      let perspectiveHypergridElement;
      if (!this.hypergrid) {
          perspectiveHypergridElement = this[PRIVATE].grid = document.createElement("perspective-hypergrid");
          Object.defineProperty(this, "hypergrid", {
              configurable: true,
              get: () => (this[PRIVATE].grid ? this[PRIVATE].grid.grid : undefined)
          });
      } else {
          perspectiveHypergridElement = this[PRIVATE].grid;
      }
  
      if (!perspectiveHypergridElement.isConnected) {
          div.innerHTML = "";
          div.appendChild(perspectiveHypergridElement);
          await new Promise(resolve => setTimeout(resolve));
          perspectiveHypergridElement.grid.canvas.resize(false, true);
      }
      return perspectiveHypergridElement;
  }
docs: Create a new <perspective-hypergrid> web component, and attach it to the DOM.
  
  @param {HTMLElement} div Attachment point.