PrizmDoc® Viewer v13.28 Release - Updated
PrizmDoc Viewer / API Reference / E-Signature Controls / Module: form-controller
In This Topic
    Module: form-controller
    In This Topic

    Module: form-controller

    This module interfaces with ViewerControl in order to display the fields being created, as well as update field positioning data. It is in charge of translating between FieldList field objects and ViewerControl mark objects whenever necessary.

    Example

    var FormController = require('form-controller.js');
    
    // a generic Viewer constructor
    function Viewer(opts) {
        var myFormController = FormController(this);
    }
    
    Fires:
    Listens to Events:

    (require("form-controller"))(viewer)

    Creates the form controller module.

    Parameters:
    Name Type Description
    viewer Core

    The core viewer to which the module will attach.

    Methods

    destroy()

    Destroys the module.


    Documentation generated by JSDoc 3.5.5 on Sun Feb 25 2024 15:33:01 GMT-0500 (Eastern Standard Time)