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
|
(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
|
(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
|
Example
var GlobalSettingsTrigger = require('global-settings-trigger.js');
// a generic Viewer constructor
function Viewer(opts) {
var myGlobalSettings = GlobalSettingsTrigger(this, {
elem: document.getElementById('myGlobalSettings')
});
}
Example
var GlobalSettingsTrigger = require('global-settings-trigger.js');
// a generic Viewer constructor
function Viewer(opts) {
var myGlobalSettings = GlobalSettingsTrigger(this, {
elem: document.getElementById('myGlobalSettings')
});
}
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.
destroy()
Destroys the module.
destroy()
Destroys the module.