Class: UIRouter

UIRouter()

MetacatUI Router

Constructor

new UIRouter()

Source:

Extends

  • Backbone.Router

Methods

renderDrafts()

Renders the Drafts view which is a simple view backed by LocalForage that lists drafts created in the Editor so users can recover any failed submissions.
Source:

renderPortal(label, portalSection)

renderPortal - Render the portal view based on the given name or id, as well as optional section
Parameters:
Name Type Description
label string The portal ID or name
portalSection string A specific section within the portal
Source:

renderPortalEditor(portalTermPluralopt, portalIdentifieropt, portalSectionopt)

Renders the PortalEditorView
Parameters:
Name Type Attributes Description
portalTermPlural string <optional>
This should match the `portalTermPlural` configured in the AppModel.
portalIdentifier string <optional>
The id or labebl of the portal
portalSection string <optional>
The name of the section within the portal to navigate to (e.g. "data")
Source:

renderPortalsSearch()

Renders the Portals Search view.
Source: