Sha256: 22b27c950332620f2b187bfe73cb51b5f122e00c49c22ac865c91441704e5f80

Contents?: true

Size: 506 Bytes

Versions: 22

Compression:

Stored size: 506 Bytes

Contents

import { Injectable, OnDestroy } from '@angular/core';
import { OverlayContainer } from '@angular/cdk/overlay';

export class AppOverlayContainer extends OverlayContainer {

  override _createContainer(): void {
    let container = document.createElement('div');
    container.classList.add('cdk-overlay-container');

    let elem = document.querySelector('#openc3-tool');
    if (!elem) {
      elem = new HTMLElement();
    }
    elem.appendChild(container);
    this._containerElement = container;
  }
}

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
openc3-5.20.0 templates/tool_angular/src/app/custom-overlay-container.ts
openc3-5.19.0 templates/tool_angular/src/app/custom-overlay-container.ts
openc3-5.18.0 templates/tool_angular/src/app/custom-overlay-container.ts
openc3-5.17.1 templates/tool_angular/src/app/custom-overlay-container.ts
openc3-5.17.0 templates/tool_angular/src/app/custom-overlay-container.ts
openc3-5.16.0 templates/tool_angular/src/app/custom-overlay-container.ts
openc3-5.15.2 templates/tool_angular/src/app/custom-overlay-container.ts
openc3-5.15.1 templates/tool_angular/src/app/custom-overlay-container.ts
openc3-5.15.0 templates/tool_angular/src/app/custom-overlay-container.ts
openc3-5.14.2 templates/tool_angular/src/app/custom-overlay-container.ts
openc3-5.14.1 templates/tool_angular/src/app/custom-overlay-container.ts
openc3-5.14.0 templates/tool_angular/src/app/custom-overlay-container.ts
openc3-5.13.0 templates/tool_angular/src/app/custom-overlay-container.ts
openc3-5.12.0 templates/tool_angular/src/app/custom-overlay-container.ts
openc3-5.11.3 templates/tool_angular/src/app/custom-overlay-container.ts
openc3-5.11.2 templates/tool_angular/src/app/custom-overlay-container.ts
openc3-5.11.1 templates/tool_angular/src/app/custom-overlay-container.ts
openc3-5.11.0 templates/tool_angular/src/app/custom-overlay-container.ts
openc3-5.10.1 templates/tool_angular/src/app/custom-overlay-container.ts
openc3-5.10.0 templates/tool_angular/src/app/custom-overlay-container.ts