PrizmDoc
Module: field-edit

Module: field-edit

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

(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.

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')
    });
}

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback