PrizmDoc v12.0 -
Module: global-settings-trigger

Module: global-settings-trigger

triggers .

(require("global-settings-trigger"))(viewer, options)

Creates the global settings trigger UI 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.

Example
var GlobalSettingsTrigger = require('global-settings-trigger.js');

// a generic Viewer constructor
function Viewer(opts) {
    var myGlobalSettings = GlobalSettingsTrigger(this, {
        elem: document.getElementById('myGlobalSettings')
    });
}

Methods

destroy()

Destroys the module.


 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback