Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

711 B
Raw Blame
<ng-content select="[slot=trigger]" />
<span
  tabindex="0"
  #focusGrabber
  [attr.aria-label]="text.focus_grab"
></span>

<ng-template #body>
  @if (opened) {
    <div
      #anchor
      [attr.id]="id"
      [ngClass]="['spot-drop-modal--body', 'spot-container' ]"
      [class.spot-drop-modal--body_not-full-screen]="notFullscreen"
      (click)="onBodyClick($event)"
      cdkTrapFocus
      tabindex="0"
      >
      <ng-content select="[slot=body]" />
      <button
        class="spot-drop-modal--close-button spot-button"
        type="button"
        [attr.aria-label]="text.close"
        (click)="close()"
        >
        <svg x-icon size="small" />
      </button>
    </div>
  }
</ng-template>