@xtctwins/tctwins-core 1.1.8 → 1.1.9

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xtctwins/tctwins-core",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "private": false,
5
5
  "description": "Web Programming Toolkit for 3D/2D BIM and CAD",
6
6
  "module": "./dist/tctwins-core.es5.js",
@@ -150,6 +150,13 @@ export declare class AnnotationsPlugin extends Plugin {
150
150
  */
151
151
  on(event: "markerClicked", callback: (annotation: Annotation) => void): void;
152
152
 
153
+ /**
154
+ * Fires when a mouse clicks an annotation label.
155
+ * @param {String} event The labelClicked event
156
+ * @param {Function} callback Callback fired on the event
157
+ */
158
+ on(event: "labelClicked", callback: (annotation: Annotation) => void): void;
159
+
153
160
  /**
154
161
  * Fires when a mouse dbclick an annotation.
155
162
  * @param {String} event The markerDoubleClicked event