Using Modal Factory - Moodle 3.10

Re: Using Modal Factory - Moodle 3.10

by Richard Jones -
Number of replies: 0
Picture of Plugin developers Picture of Testers
Hi Dave

We should get together on this as I have been struggling a bit with it and came here with questions too! I have an example here: https://github.com/richardjonesnz/moodle-mod_sandbox which may be overly simple but it does work.

The documentation reckons all new JavaScript from Moodle 3.10 must be written as ES6 modules but it doesn't seem enforceable.

Many of the examples in the documentation use jQuery which is also supposed to be discontinued for modules. However, since Booststrap 4 includes jQuery, again not sure how all this will work or what the plan is. Perhaps all will be clear by November?

https://docs.moodle.org/dev/Roadmap is interesting but still pretty vague on detail.

Cheers
Richard