PrizmDoc v12.4 - Updated
Module: fill-checklist

Module: fill-checklist

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
Name Type Description
elem HTMLElement

The element in which the module UI will be inserted.

Methods

destroy()

Destroys the module.