Class Actions.Action
Actions.Action
Constructor Attributes | Constructor Name and Description |
---|---|
Actions.Action(options)
A generic action.
|
Field Attributes | Field Name and Description |
---|---|
Get the action's name.
|
Method Attributes | Method Name and Description |
---|---|
onTriggered(owner, event, documentViewer)
Called when the action is triggered.
|
Class Detail
Actions.Action(options)
A generic action.
- Parameters:
- {?object} options
- A map of properties to set on the Action
Field Detail
{string}
name
Get the action's name.
Method Detail
onTriggered(owner, event, documentViewer)
Called when the action is triggered.
- Parameters:
- {(Annotations.Forms.Field|CoreControls.DocumentViewer)} owner
- The dispatcher to which this action is attached
- {Annotations.Forms.PDFJS.Event} event
- The PDFJS event to use when executing the action
- {CoreControls.DocumentViewer} documentViewer
- The DocumentViewer to use as context for the action execution