Displays a list of fields to be completed in the form. As fields are completed, the icon in the checklist item will be updated to reflect the completed state.
Fires:
Listens to Events:
Example
var FillChecklist = require('fill-checklist.js');
// a generic Viewer constructor
function Viewer(opts) {
var myFillChecklist = FillChecklist(this, {
elem: document.getElementById('myChecklist')
});
}
(require("fill-checklist"))(viewer, options)
Creates the checklist UI module.
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
viewer |
Core |
The core viewer to which the module will attach. | ||||||
options |
Object |
An options object. Properties
|
Methods
destroy()
Destroys the module.