August 2019
Intermediate to advanced
158 pages
3h 13m
English
Module loader API is not a part of Web Component spec sheet, but it is definitely something that is useful to know when it comes to creating and using multiple classes. As the name says, this specification lets a user load the modules. That is, if you have a bunch of classes, you can use module loaders to load these classes into the web page.
Let's start with the basics. Let's say we have our index.html like this:
<!DOCTYPE html><html lang="en" dir="ltr"> <head> </head> <body> <p>Placeholder for Random Number</p> </body></html>
We can see that there is a <p> tag ...
Read now
Unlock full access