Kendo ui 使用剑道和锚

Kendo ui 使用剑道和锚,kendo-ui,popup,popover,kendo-angular-ui,Kendo Ui,Popup,Popover,Kendo Angular Ui,我试图使用剑道弹出和输入锚,但它不适合我正常工作。 我想从app.component.html获得: <div class="first-container flex-column"> <!-- a lot of elements --> </div> <div class="second-container flex-column"> <!-- a lot of elements --> </d

我试图使用剑道弹出和输入锚,但它不适合我正常工作。 我想从app.component.html获得:

  <div class="first-container flex-column">
    <!-- a lot of elements -->
  </div>
  <div class="second-container flex-column">
     <!-- a lot of elements -->
  </div>
  <kendo-popup [anchor]="anchor">
      <div class='content'>
          <!-- User-defined content -->
          Popup content.
      </div>
  </kendo-popup>

弹出内容。
而且#锚id可以深入其中一个容器中

我想创建通用剑道弹出窗口,它应该在每次靠近其他元素(有锚)时打开弹出窗口

如果我将#anchor放在其中一个容器中的一个元素中,它不会在该元素附近弹出,而是在与该元素无关的位置弹出

我该怎么做

顺便说一句,我首先尝试使用ngBootsrap的ngbPopover,但是它需要“包装”我们想要popover的html元素,这对我来说不起作用,因为我想把popover/popup代码放在我将用于多个元素的通用位置

谢谢