What is the responsibility of Modules?
With Modules we use a mechanism to identify a scoped chunk of functionality. That means, a Module has the following responsibility:
- Processing of options handling
How do we distinguish Modules?
When we use Modules, we add a
<header class="header" data-js-module="sticky"></header>