PrizmDoc v13.1 - Updated
Module: template-io

Module: template-io

Manages the saving and loading of template files.

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

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

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

Creates the template IO module.

Parameters:
Name Type Description
viewer Core

The core viewer to which the module will attach.

Methods

destroy()

Destroys the module.