new ReferencesHtmlScraperGateway()
Gateway for retrieving references via the content of the Page
Extends
Members
(static) EXTERNAL_LINK_CLASS
Properties:
Name | Type | Description |
---|---|---|
EXTERNAL_LINK_CLASS |
a CSS class to place on external links in addition to the default 'external' class. |
getReference
Return the matched reference via API or DOM query
- Overrides:
- Source:
Methods
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