PrizmDoc
Module: template-io

Module: template-io

Manages the saving and loading of template files.

(require("template-io"))(viewer)

Creates the template IO module.

Parameters:
Name Type Description
viewer Core

The core viewer to which the module will attach.

Fires:
Listens to Events:
Example
var TemplateIO = require('template-io.js');

// a generic Viewer constructor
function Viewer(opts) {
    var myTemplateIO = TemplateIO(this);
}

Methods

destroy()

Destroys the module.


 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback