@realsee/dnalogel 3.10.3 → 3.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -80,6 +80,14 @@ export type AreaMakerItemEventMap = {
80
80
  target: AreaMakerItem;
81
81
  nativeEvent: MouseEvent;
82
82
  }) => void;
83
+ /**
84
+ * @description: 标注标签没有被遮挡,自动展示
85
+ */
86
+ tagShow: () => void;
87
+ /**
88
+ * @description: 标注标签被模型遮挡,自动隐藏
89
+ */
90
+ tagHide: () => void;
83
91
  };
84
92
  /** 动画相关的配置 */
85
93
  export interface AnimeOptions {
@@ -44,7 +44,7 @@ export declare class AreaMakerItem {
44
44
  /** 标注标签实例 */
45
45
  tagApp: LabelItem | null;
46
46
  /** 标注标签是否可见 */
47
- tagVisible: boolean;
47
+ tagVisible: boolean | null;
48
48
  /** 标注标签的世界坐标 */
49
49
  tagPosition: THREE.Vector3;
50
50
  /** 标注标签的 NDC 坐标 */