FoxitPDFSDKforWeb v11.0.1
Foxit PDF SDK for Web
FormMouseEvent Interface Reference

Represents a mouse event with a form. More...

Inheritance diagram for FormMouseEvent:
FormInteractionEvent

Public Attributes

FormMouseEventButtonType button
 The type of mouse button which triggered the event. More...
 
number left
 Represents the left coordinate of the mouse position, in PDF coordinates. More...
 
number page
 Represents the page index where the mouse event occurred. More...
 
number top
 Represents the top coordinate of the mouse position, in PDF coordinates. More...
 
string type
 Type of the mouse event, should be 'mousedown', 'mouseup' , 'mousemove' or 'dblclick'. More...
 
- Public Attributes inherited from FormInteractionEvent
FormInteractionEventFlags flags
 Represents the flags associated with a form interaction event. More...
 
number timestamp
 Represents the timestamp of the interaction event, in milliseconds. More...
 
string type
 Represents the type of interaction event occurring within a form. More...
 

Detailed Description

Represents a mouse event with a form.

Since
11.0.0

Member Data Documentation

◆ button

FormMouseEventButtonType FormMouseEvent::button

The type of mouse button which triggered the event.

Since
11.0.0

◆ left

number FormMouseEvent::left

Represents the left coordinate of the mouse position, in PDF coordinates.

Since
11.0.0

◆ page

number FormMouseEvent::page

Represents the page index where the mouse event occurred.

Since
11.0.0

◆ top

number FormMouseEvent::top

Represents the top coordinate of the mouse position, in PDF coordinates.

Since
11.0.0

◆ type

string FormMouseEvent::type

Type of the mouse event, should be 'mousedown', 'mouseup' , 'mousemove' or 'dblclick'.

Since
11.0.0

Foxit Software Corporation Logo
@2025 Foxit Software Incorporated. All rights reserved.