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) 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: