Class: Hide

Core.Actions. Hide

Show or hide a list of fields.

new Hide(options)

Creates a hide action.
Name Type Argument Description
options object <nullable>
A map of properties to set on the Action
Name Type Description
fields Array.<string> The names of the fields on which the action should operate
hide boolean If true, hide the fields in fields, otherwise show them



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
Inherited From: