mod_assign/grading_review_panel

Description:
  • 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

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

Classes

mod_assign/grading_review_panel

Methods

(inner) collapsePanel()

Description:
  • Hide the review panel.

Source:

(inner) expandPanel()

Description:
  • Show the review panel.

Source:

(inner) getPanelContentElement() → {jQuery}

Description:
  • Get the review panel content element.

Source:
Returns:
Type
jQuery

(inner) getPanelElement() → {jQuery}

Description:
  • Get the review panel element.

Source:
Returns:
Type
jQuery

(inner) getReviewPanel(pluginname) → {DOMNode}

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

Source:
Parameters:
Name Type Description
pluginname String

the first plugin to ask for the panel gets it.

Returns:

or false

Type
DOMNode

(inner) getTogglePanelButton() → {jQuery}

Description:
  • Get the toggle review panel button.

Source:
Returns:
Type
jQuery

(inner) registerEventListeners()

Description:
  • Register event listeners for the review panel.

Source:

(inner) togglePanel()

Description:
  • Show/Hide the review panel.

Source: