Constructor
new module:mobile.startup/references.ReferencesHtmlScraperGateway()
#
Methods
getReference(hash, page, pageHTMLParser)
#
Parameters:
Name | Type | Description |
---|---|---|
hash |
string | Hash fragment with leading '#' |
page |
Page | (unused) |
pageHTMLParser |
getReferenceFromContainer(id, $container) → {jQuery.Promise}
#
Parameters:
Name | Type | Description |
---|---|---|
id |
string | ID of a DOM element in the page. |
$container |
jQuery.Object | to scan for an element |
Returns:
that can be used by getReference
- Type
- jQuery.Promise