@i2analyze/notebook-sdk 1.10.0-dev.7 → 1.10.0-dev.8

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.
@@ -2231,6 +2231,11 @@ export declare namespace chart {
2231
2231
  * @i2since 1.9
2232
2232
  */
2233
2233
  readonly brushsetchange: BrushSetChangeListener;
2234
+ /**
2235
+ * Gets the type of the callback method that listens for "charthoverchange" events.
2236
+ * @i2since 1.10
2237
+ */
2238
+ readonly charthoverchange: HoverChangeListener;
2234
2239
  }
2235
2240
  /**
2236
2241
  * A mapping of chart event types to their listener options types.
@@ -2262,6 +2267,11 @@ export declare namespace chart {
2262
2267
  * @i2since 1.9
2263
2268
  */
2264
2269
  readonly brushsetchange: app.ISubscriptionOptions;
2270
+ /**
2271
+ * Gets the type of the object that provides control over "charthoverchange" event listeners.
2272
+ * @i2since 1.10
2273
+ */
2274
+ readonly charthoverchange: app.ISubscriptionOptions;
2265
2275
  }
2266
2276
  /**
2267
2277
  * A callback function that handles chart selection events.
@@ -2303,6 +2313,18 @@ export declare namespace chart {
2303
2313
  * @i2since 1.9
2304
2314
  */
2305
2315
  export type BrushSetChangeListener = (brushSet: visual.IBrushSet, applicationContents: app.IApplicationContents) => void;
2316
+ /**
2317
+ * A callback function that handles chart hover change events.
2318
+ *
2319
+ * @remarks
2320
+ * This callback fires when the pointer moves over a different chart element, or when it enters or leaves
2321
+ * all chart elements. It does not fire on every `pointermove` — only when the hovered element changes.
2322
+ *
2323
+ * @param element - The chart element now under the pointer, or `null` if the pointer has left all chart elements.
2324
+ * @param applicationContents - The contents of the application, including the current chart.
2325
+ * @i2since 1.10
2326
+ */
2327
+ export type HoverChangeListener = (element: visual.INode | visual.IEdge | visual.IEdgeSummary | visual.INodeGroup | null, applicationContents: app.IApplicationContents) => void;
2306
2328
  /**
2307
2329
  * Constraints that control a view-fitting operation.
2308
2330
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@i2analyze/notebook-sdk",
3
- "version": "1.10.0-dev.7",
3
+ "version": "1.10.0-dev.8",
4
4
  "description": "i2 Notebook SDK",
5
5
  "license": "MIT",
6
6
  "publishConfig": {