filter_mathjaxloader/loader

Description:
  • Mathjax JS Loader.

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

Mathjax JS Loader.

Members

(static, constant) configure

Description:
  • Called by the filter when it is active on any page. This does not load MathJAX yet - it adds the configuration in case it gets loaded later. It also subscribes to the filter-content-updated event so MathJax can respond to content loaded by Ajax.

Source:

Called by the filter when it is active on any page. This does not load MathJAX yet - it adds the configuration in case it gets loaded later. It also subscribes to the filter-content-updated event so MathJax can respond to content loaded by Ajax.

(static, constant) contentUpdated

Description:
  • Handle content updated events - typeset the new content.

Source:

Handle content updated events - typeset the new content.

(static, constant) loadMathJax

Description:
  • Load the MathJax script.

Source:

Load the MathJax script.

(static, constant) typeset

Description:
  • Called by the filter when an equation is found while rendering the page.

Source:

Called by the filter when an equation is found while rendering the page.

(inner) mathJaxLoaded :Promise|null

Description:
  • Promise that is resolved when MathJax was loaded.

Source:

Promise that is resolved when MathJax was loaded.

Type:
  • Promise | null

(inner) mathJaxUrl :string|null

Description:
  • URL to MathJax.

Source:

URL to MathJax.

Type:
  • string | null