Provides the ability to create and manage signatures.
(require("profile-manager"))(viewer, options)
Created the profile manager module.
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
viewer |
Core |
The core viewer to which the module will attach. | ||||||
options |
Object |
An options abject. Properties
|
Listens to Events:
Example
var ProfileManager = require('profile-manager.js');
// a generic Viewer constructor
var myProfileManager = ProfileManager(this, {
elem: document.getElementById('myProfileManager')
});
Methods
destroy()
Destroys the module.