Constructor
new RegisterCitationView()
- Source:
Extends
Members
citationsUrl :string
The URL to save the citation to
Type:
- Source:
errorMessage :string
The message to display the citation has failed to submit
Type:
- Source:
successMessage :string
The message to display the citation is successfully submitted
Type:
- Source:
Methods
registerCitation()
Get inputs from the modal and sends it to the DataONE Metrics Service
- Source:
render()
Renders the submission form and creates a Bootstrap modal for this view
- Source:
show()
Shows this view on the page.
- Source:
teardown()
Hides and removes this view from the page.
- Source:
validateDOI() → {undefined}
Validates if the given input is a valid DOI string or not
- Since:
- Source:
Returns:
-
Type
-
undefined