Manages global trigger settings.
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 object. Properties
|
Methods
destroy()
Destroys the module.