PrizmDoc
Module: template-name-header

Module: template-name-header

dfgsdf Provides the ability to display the currently loaded template name as a header.

Listens to Events:
Example
var TemplateNameHeader = require('template-name-header.js');

// a generic Viewer constructor
 var myTemplateNameHeader = TemplateNameHeader(this, {
     elem: document.getElementById('myTemplateHeader')
 });
Listens to Events:
Example
var TemplateNameHeader = require('template-name-header.js');

// a generic Viewer constructor
 var myTemplateNameHeader = TemplateNameHeader(this, {
     elem: document.getElementById('myTemplateHeader')
 });

(require("template-name-header"))(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
elem HTMLElement

The element in which the module UI will be inserted.

Listens to Events:
Example
var TemplateNameHeader = require('template-name-header.js');

// a generic Viewer constructor
 var myTemplateNameHeader = TemplateNameHeader(this, {
     elem: document.getElementById('myTemplateHeader')
 });

(require("template-name-header"))(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
elem HTMLElement

The element in which the module UI will be inserted.

(require("template-name-header"))(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
elem HTMLElement

The element in which the module UI will be inserted.

Methods

destroy()

Destroys the module.

destroy()

Destroys the module.

destroy()

Destroys the module.

dfgsdf Provides the ability to display the currently loaded template name as a header.

Listens to Events:
Example
var TemplateNameHeader = require('template-name-header.js');

// a generic Viewer constructor
 var myTemplateNameHeader = TemplateNameHeader(this, {
     elem: document.getElementById('myTemplateHeader')
 });
Listens to Events:
Example
var TemplateNameHeader = require('template-name-header.js');

// a generic Viewer constructor
 var myTemplateNameHeader = TemplateNameHeader(this, {
     elem: document.getElementById('myTemplateHeader')
 });

(require("template-name-header"))(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
elem HTMLElement

The element in which the module UI will be inserted.

Listens to Events:
Example
var TemplateNameHeader = require('template-name-header.js');

// a generic Viewer constructor
 var myTemplateNameHeader = TemplateNameHeader(this, {
     elem: document.getElementById('myTemplateHeader')
 });

(require("template-name-header"))(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
elem HTMLElement

The element in which the module UI will be inserted.

(require("template-name-header"))(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
elem HTMLElement

The element in which the module UI will be inserted.

Methods

destroy()

Destroys the module.

destroy()

Destroys the module.

destroy()

Destroys the module.

dfgsdf Provides the ability to display the currently loaded template name as a header.

Listens to Events:
Example
var TemplateNameHeader = require('template-name-header.js');

// a generic Viewer constructor
 var myTemplateNameHeader = TemplateNameHeader(this, {
     elem: document.getElementById('myTemplateHeader')
 });
Listens to Events:
Example
var TemplateNameHeader = require('template-name-header.js');

// a generic Viewer constructor
 var myTemplateNameHeader = TemplateNameHeader(this, {
     elem: document.getElementById('myTemplateHeader')
 });

(require("template-name-header"))(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
elem HTMLElement

The element in which the module UI will be inserted.

Listens to Events:
Example
var TemplateNameHeader = require('template-name-header.js');

// a generic Viewer constructor
 var myTemplateNameHeader = TemplateNameHeader(this, {
     elem: document.getElementById('myTemplateHeader')
 });

(require("template-name-header"))(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
elem HTMLElement

The element in which the module UI will be inserted.

(require("template-name-header"))(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
elem HTMLElement

The element in which the module UI will be inserted.

Methods

destroy()

Destroys the module.

destroy()

Destroys the module.

destroy()

Destroys the module.


 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback