Tag: amd
Custom Javascript in Moodle/Totara, Javascript & AMD Modules
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