Global

Members

ms

This setups the Minerva skin. It should run without errors even if MobileFrontend is not installed.

Source:

Methods

displayDrawer(drawer, options)

Parameters:
Name Type Description
drawer Drawer

to display

options Object

for display

Properties
Name Type Description
hideOnScroll boolean

whether a scroll closes the drawer

Source:

getClassesForItem($item) → {Object}

Parameters:
Name Type Description
$item jQuery.Object

The added list item, or null if no element was added.

Source:
Returns:

of arrays with mandatory class names for list item elements.

Type
Object

init()

Wire up the main menu

Source:

initTabsScrollPosition() → {void}

When tabs are present and one is selected, scroll the selected tab into view.

Source:
Returns:
Type
void

initWatchstarCta($watchstar)

A CtaDrawer should show for anonymous users.

Parameters:
Name Type Description
$watchstar jQuery.Object
Source:

lockScroll()

Lock scroll of viewport.

Source:

Type Definitions

IssueSummary

Type:
  • Object
Properties:
Name Type Description
issue PageIssue
$el jQuery.Object

where the issue was extracted from

iconString string

a string representation of icon. This is kept for template compatibility (our views do not yet support composition).

text string

HTML string.

Source:

IssueSummaryMap

Type:
Source:

PageIssue

Properties:
Name Type Description
severity string

A SEVERITY_LEVEL key.

grouped boolean

True if part of a group of multiple issues, false if singular.

icon Icon
Source: