PrizmDoc® Viewer v13.26 Release - Updated
PrizmDoc Viewer / API Reference / E-Signature Controls / Module: data-persist
In This Topic
    Module: data-persist
    In This Topic

    Module: data-persist

    Provides the ability to store state data in the browser's local storage.

    Note: this module is an example of a persistence module. It presents potential security concerns, in that it may allow users to store sensitive information in non-secure browser storage. Please make sure this module fits your security model before using it in production.


    var DataPersist = require('data-persist.js');
    // a generic Viewer constructor
    var myDataPersist = DataPersist(viewer);


    Created the data persistence module.

    Name Type Description
    viewer Core

    The core viewer to which the module will attach.

    Listens to Events:



    Destroys the module.

    Documentation generated by JSDoc 3.5.5 on Fri Dec 15 2023 12:27:55 GMT-0500 (Eastern Standard Time)