new JavaScript(options)
Parameters:
| Name | Type | Argument | Description |
|---|---|---|---|
options |
object |
<nullable> |
A map of properties to set on the Action |
Properties:
| Name | Type | Description |
|---|---|---|
javascript |
string | The JavaScript string to execute when the action is triggered |
Extends
Methods
-
onTriggered(owner, event, documentViewer)
-
Called when the action is triggered.
Parameters:
Name Type Description ownerAnnotations.Forms.Field | Core.DocumentViewer The dispatcher to which this action is attached eventobject The PDFJS event to use when executing the action documentViewerCore.DocumentViewer The DocumentViewer to use as context for the action execution - Inherited From:
- Overrides: