happypdf / JavaScriptActionMap
Interface: JavaScriptActionMap
Defined in: src/api/PDFJavaScriptAction.ts:83
Properties
blur?
optional blur?: PDFJavaScriptAction;Defined in: src/api/PDFJavaScriptAction.ts:107
Blur action (Bl) - executed when annotation loses focus
calculate?
optional calculate?: PDFJavaScriptAction;Defined in: src/api/PDFJavaScriptAction.ts:91
Calculate action (C) - executed to recalculate the field's value
focus?
optional focus?: PDFJavaScriptAction;Defined in: src/api/PDFJavaScriptAction.ts:105
Focus action (Fo) - executed when annotation receives focus
format?
optional format?: PDFJavaScriptAction;Defined in: src/api/PDFJavaScriptAction.ts:87
Format action (F) - executed to format the field's value
keystroke?
optional keystroke?: PDFJavaScriptAction;Defined in: src/api/PDFJavaScriptAction.ts:85
Keystroke action (K) - executed when the user types in a field
mouseDown?
optional mouseDown?: PDFJavaScriptAction;Defined in: src/api/PDFJavaScriptAction.ts:95
Mouse down action (D) - executed when mouse button is pressed
mouseEnter?
optional mouseEnter?: PDFJavaScriptAction;Defined in: src/api/PDFJavaScriptAction.ts:97
Mouse enter action (E) - executed when cursor enters annotation area
mouseExit?
optional mouseExit?: PDFJavaScriptAction;Defined in: src/api/PDFJavaScriptAction.ts:99
Mouse exit action (X) - executed when cursor exits annotation area
mouseUp?
optional mouseUp?: PDFJavaScriptAction;Defined in: src/api/PDFJavaScriptAction.ts:93
Mouse up action (U) - executed when mouse button is released
pageClose?
optional pageClose?: PDFJavaScriptAction;Defined in: src/api/PDFJavaScriptAction.ts:103
Page close action (C) - executed when page is closed
pageOpen?
optional pageOpen?: PDFJavaScriptAction;Defined in: src/api/PDFJavaScriptAction.ts:101
Page open action (O) - executed when page is opened
validate?
optional validate?: PDFJavaScriptAction;Defined in: src/api/PDFJavaScriptAction.ts:89
Validate action (V) - executed to validate the field's value