theme_boost/loader

Description:
  • Template renderer for Moodle. Load and render Moodle templates with Mustache.

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

Template renderer for Moodle. Load and render Moodle templates with Mustache.

Methods

(inner) enablePopovers()

Description:
  • Enable all popovers

Source:

(inner) enableTooltips()

Description:
  • Enable tooltips

Source:

(inner) realocateBootstrapEvents()

Description:
  • Realocate Bootstrap events to the body element.

    Bootstrap 5 has a unique event handling mechanism that attaches all event handlers at the document level during the capture phase, rather than the usual bubbling phase. As a result, original Bootstrap events cannot be stopped or prevented, since the document is the first node executed in the capture phase. For certain advanced UI elements, such as form autocomplete, it is important to capture key-down events before Bootstrap's handlers to prevent unintended closures of elements. Therefore, we need to change the Bootstrap handler so that it operates one level lower, specifically at the body level.

Source:

(inner) rememberTabs()

Description:
  • Rember the last visited tabs.

Source: