Interface: WidgetAnnotationAdditionalActions

PSPDFKit.WidgetAnnotationAdditionalActions

Actions to execute when any of the events is triggered.

Extends

  • PSPDFKit.AnnotationAdditionalActions

Members




Members

Execute an action when the widget loses focus.

The name of this event in the PDF spec is Bl.

Type:

(nullable) onChange: PSPDFKit.Actions.JavaScriptAction

Action to be performed when the user changes the value of the field.

The name of this event in the PDF spec is V.

Type:

(nullable) onFocus: PSPDFKit.Actions.JavaScriptAction

Execute an action when the widget is focused.

The name of this event in the PDF spec is Fo.

Type:

(nullable) onFormat: PSPDFKit.Actions.JavaScriptAction

Action to be performed before the field is formatted to display its current value.

The name of this event in the PDF spec is F.

Type:

(nullable) onInput: PSPDFKit.Actions.JavaScriptAction

Action to be performed when the user types a key-stroke into a text field or combo box or modifies the selection in a scrollable list box.

The name of this event in the PDF spec is K.

Type:

(nullable) onPointerDown: PSPDFKit.Actions.Action

Action to be performed when the pointer is pressed.

Type:

(nullable) onPointerEnter: PSPDFKit.Actions.Action

Action to be performed when the pointer hovers the field.

Type:

(nullable) onPointerLeave: PSPDFKit.Actions.Action

Action to be performed when the pointer leaves the field area.

Type:

(nullable) onPointerUp: PSPDFKit.Actions.Action

Action to be performed when the pointer is released.

Type: