modules

Custom Javascript in Moodle/Totara, Javascript & AMD Modules

Author - Pawandeep Kaur
|
0 Comments
|

How can we add custom Javascript in Moodle/Totara, Javascript & AMD modules?

A Javascript module is a collection of Javascript code. It enhances the reusability of this code. As a result, it is called/used from alternative javascript files.

These modules are written by using the AMD(Asynchronous Read more…