navPanel

Singleton related to the navigation panel.

Source:

Members

(static) $element :external:jQuery

Source:

Navigation panel element.

Type:

Methods

(static) goToFirstUnseenComment()

Source:

Scroll to the first unseen comment.

(static) goToNextCommentForm(inSightopt)

Source:

Go to the next comment form out of sight, or just the next comment form, if inSight is set to true.

Parameters:
Name Type Attributes Default Description
inSight boolean <optional>
false

(static) goToNextNewComment()

Source:

Scroll to the next new comment.

(static) goToPreviousNewComment()

Source:

Scroll to the previous new comment.

(static) isMounted() → {boolean}

Source:

Check if the navigation panel is mounted. Is equivalent to checking the existence of module:navPanel.$element, and for most practical purposes, does the same as the module:pageRegistry.Page#isActive check.

Returns:
Type
boolean

(static) setup()

Source:

For internal use. Mount, unmount or reset the navigation panel based on the context.