PrizmDoc v12.4 - Updated
Module: global-settings-trigger

Module: global-settings-trigger

triggers .

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

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

(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.

Methods

destroy()

Destroys the module.