Class: Action

Core.Actions. Action

A generic action.

new Action(options)

Name Type Argument Description
options object <nullable>
A map of properties to set on the Action
Name Type Description
name string Get the action's name.


onTriggered(owner, event, documentViewer)

Called when the action is triggered.
Name Type Description
owner Annotations.Forms.Field | Core.DocumentViewer | Core.Bookmark The dispatcher to which this action is attached
event object The PDFJS event to use when executing the action
documentViewer Core.DocumentViewer The DocumentViewer to use as context for the action execution