PrizmDoc Viewer v13.11 Release - Updated
Module: field-edit
API Reference > E-Signature Controls > Module: field-edit

Module: field-edit

Provides UI showing the settings of a form field and allowing the user to edit the form field.

Fires:
Listens to Events:
Example
var FieldEdit = require('field-edit.js');

// a generic Viewer constructor
function Viewer(opts) {
    var myFieldEdit = FieldEdit(this, {
        elem: document.getElementById('myFieldEdit')
    });
}

(require("field-edit"))(viewer, options)

Creates the field editing UI module.

Parameters:
Name Type Description
viewer Core

The core viewer to which the module will attach.

options Object

An options object.

Properties
Name Type Description
elem HTMLElement

The element in which the module UI will be inserted.