PrizmDoc v13.3 - Updated
Module: date-picker
API Reference > PrizmDoc E-Signature Viewer API > Module: date-picker

Module: date-picker

Provides a date picker UI.

(require("date-picker"))(viewer, options)

Created the template name header module.

Parameters:
Name Type Description
viewer Core

The core viewer to which the module will attach.

options Object

An options abject.

Properties
Name Type Description
dateFormat external:"jQuery.fn"~DateFormat

The format string to use when providing the selected date.

Listens to Events:
Example
var DatePicker = require('date-picker.js');

// a generic Viewer constructor
var myDatePicker = DatePicker(this, {
    dateFormat: 'MM/DD/YYYY'
});

Methods

destroy()

Destroys the module.