Constructor
new DocumentInspectorWindow(provider)
Constructs a documents inspector window.
Parameters:
Name | Type | Description |
---|---|---|
provider | object | document provider |
Classes
Members
docDescriptionElement :HTMLElement
Type:
- HTMLElement
docImageElement :HTMLElement
Type:
- HTMLElement
docPubDateElement :HTMLElement
Type:
- HTMLElement
docRefDateElement :HTMLElement
Type:
- HTMLElement
docRightsHolderElement :HTMLElement
Type:
- HTMLElement
docSourceElement :HTMLElement
Type:
- HTMLElement
docTitleElement :HTMLElement
Type:
- HTMLElement
domElement :HTMLElement
Type:
- HTMLElement
Methods
(async) _fillFieldsFromDocument(newDocument)
Updates the HTML fields so that they describe the new displayed document.
Parameters:
Name | Type | Description |
---|---|---|
newDocument | Document | The new displayed document. |
_setDefaultFieldValues()
Sets the default values for the HTML fields.
(async) onDisplayedDocumentChange(newDocument)
Triggered when the displayed document change. Updates the HTML fields.
Parameters:
Name | Type | Description |
---|---|---|
newDocument | Document | The new displayed document. |