Class: ResetForm

Core.Actions. ResetForm

An action that resets form fields to their default values.

new ResetForm( [options])

Parameters:
Name Type Argument Description
options Core.Actions.ResetFormOptions <optional>
A map of properties to set on the action

Extends

Methods


onTriggered(owner, event, documentViewer)

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