Contains functions for changing the default behavior of embedded PDF JavaScript
Methods
-
<static> getFinalKeypressValue(globalEvent)
-
Gets the keypress value of the active field after applying the latest keystroke
Parameters:
Name Type Description globalEventCore.Annotations.Forms.PDFJS.Event The global event object in the embedded JS context Returns:
The current keypress value of the active field- Type
- string
-
<static> update(callback)
-
Hook into the existing embedded JS functions and update their implementations
Parameters:
Name Type Description callbackCore.Annotations.Forms.EmbeddedJS.UpdateCallback Function that is called with the embedded global object
Type Definitions
-
UpdateCallback(globals)
-
Callback function for updating embedded JavaScript global object
Parameters:
Name Type Description globalsObject The embedded global object containing PDF JavaScript APIs