mod_assign/grading_review_panel

Javascript controller for the "Review" panel at the left of the page.

Source:
Since:
  • 3.1
License:
  • http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Classes

mod_assign/grading_review_panel

Methods

(inner) collapsePanel()

Source:

Hide the review panel.

(inner) expandPanel()

Source:

Show the review panel.

(inner) getPanelContentElement() → {jQuery}

Source:

Get the review panel content element.

Returns:
Type
jQuery

(inner) getPanelElement() → {jQuery}

Source:

Get the review panel element.

Returns:
Type
jQuery

(inner) getReviewPanel(pluginname) → {DOMNode}

Source:

It is first come first served to get ownership of the grading review panel. There can be only one.

Parameters:
Name Type Description
pluginname String

the first plugin to ask for the panel gets it.

Returns:

or false

Type
DOMNode

(inner) getTogglePanelButton() → {jQuery}

Source:

Get the toggle review panel button.

Returns:
Type
jQuery

(inner) registerEventListeners()

Source:

Register event listeners for the review panel.

(inner) togglePanel()

Source:

Show/Hide the review panel.