AreaMakerItemEventMap: {
    tagClick: ((event: {
        nativeEvent: MouseEvent;
        target: AreaMakerItem;
    }) => void);
    tagHide: (() => void);
    tagShow: (() => void);
}

标注实例事件

Type declaration

  • tagClick: ((event: {
        nativeEvent: MouseEvent;
        target: AreaMakerItem;
    }) => void)

    标注标签点击的回调

      • (event): void
      • Parameters

        • event: {
              nativeEvent: MouseEvent;
              target: AreaMakerItem;
          }
          • nativeEvent: MouseEvent

            点击事件的的原始 MouseEvent

          • target: AreaMakerItem

            点击的标注实例

        Returns void

  • tagHide: (() => void)

    @description: 标注标签被模型遮挡,自动隐藏

      • (): void
      • Returns void

  • tagShow: (() => void)

    @description: 标注标签没有被遮挡,自动展示

      • (): void
      • Returns void