Internal for use inside Minerva only. See module:mobile.startup
for access.
Classes
- ReferencesHtmlScraperGateway
- Gateway for retrieving references via the content of the Page
- Gateway
Abstract base class Gateway for retrieving references
Methods
referenceDrawer(props) → {module:mobile.startup/Drawer}static
#
Drawer for references
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
props |
Object |
Properties:
|
Returns:
Drawer for references
showReference(id, page, refNumber, pageHTMLParser, gateway, props, onShowNestedReference) → {jQuery.Deferred}static
#
Fetch and render nested reference upon click
Parameters:
Name | Type | Description |
---|---|---|
id |
string | of the reference to be retrieved |
page |
Page | to locate reference for |
refNumber |
string | the number it identifies as in the page |
pageHTMLParser |
module:mobile.startup/PageHTMLParser | |
gateway |
module:mobile.startup/references~Gateway | |
props |
Object | for referenceDrawer |
onShowNestedReference |
function | function call when a nested reference is triggered. |
Returns:
- Type
- jQuery.Deferred
Fetch and render nested reference upon click