Controls the form. It handles various tasks such as creation of marks, how marks are visually represented, keyboard controls, and field focus management.
Example
var FillFormController = require('fill-form-controller.js');
// a generic Viewer constructor
function Viewer(opts) {
var myFillFormController = FillFormController(this);
}
(require("fill-form-controller"))(viewer)
Creates the form controller module.
Parameters:
Name | Type | Description |
---|---|---|
viewer |
Core |
The core viewer to which the module will attach. |
Fires:
Listens to Events:
Methods
destroy()
Destroys the module.