Skip to content

Commit 2ec8c34

Browse files
committed
docs(RenderWindowInteractor): update types
1 parent 6de3948 commit 2ec8c34

File tree

1 file changed

+26
-4
lines changed
  • Sources/Rendering/Core/RenderWindowInteractor

1 file changed

+26
-4
lines changed

Sources/Rendering/Core/RenderWindowInteractor/index.d.ts

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,16 @@ export interface vtkRenderWindowInteractor extends vtkObject {
173173
*
174174
* @param {IRenderWindowInteractorEvent} callData
175175
*/
176+
invokePointerEnter(callData: IRenderWindowInteractorEvent): void;
177+
178+
/**
179+
*
180+
*/
181+
invokePointerLeave(callData: IRenderWindowInteractorEvent): void;
182+
183+
/**
184+
*
185+
*/
176186
invokeMouseEnter(callData: IRenderWindowInteractorEvent): void;
177187

178188
/**
@@ -392,6 +402,18 @@ export interface vtkRenderWindowInteractor extends vtkObject {
392402
* @param {InteractorEventCallback} cb The callback to be called.
393403
* @param {Number} [priority] The priority of the event.
394404
*/
405+
onPointerEnter(cb: InteractorEventCallback, priority?: number): Readonly<vtkSubscription>;
406+
407+
/**
408+
*
409+
* @param cb The callback to be called
410+
*/
411+
onPointerLeave(cb: InteractorEventCallback, priority?: number): Readonly<vtkSubscription>;
412+
413+
/**
414+
*
415+
* @param cb The callback to be called
416+
*/
395417
onMouseEnter(cb: InteractorEventCallback, priority?: number): Readonly<vtkSubscription>;
396418

397419
/**
@@ -1052,15 +1074,15 @@ export interface vtkRenderWindowInteractor extends vtkObject {
10521074

10531075
/**
10541076
*
1055-
* @param {MouseEvent} event
1077+
* @param {PointerEvent} event
10561078
*/
1057-
handleMouseEnter(event: MouseEvent): void;
1079+
handlePointerEnter(event: PointerEvent): void;
10581080

10591081
/**
10601082
*
1061-
* @param {MouseEvent} event
1083+
* @param {PointerEvent} event
10621084
*/
1063-
handleMouseLeave(event: MouseEvent): void;
1085+
handlePointerLeave(event: PointerEvent): void;
10641086

10651087
/**
10661088
*

0 commit comments

Comments
 (0)