Domodule is a helper that allows you to create JavaScript modules with minimal effort while keeping code size down. It automatically binds to elements using the `data-module` attribute.
## Installation
```sh
npm install domodule
```
_or_
```sh
yarn add domodule
```
## Example usage
```html
```
```js
class ExampleModule extends Domodule {
click() {
this.els.title.textContent = this.options.title;
}
}
```
### Inherited methods
Each module has access to these helper methods.
- `find()` - Returns an array of matched elements inside of the module.
- `findOne()` - Returns the first matched element inside of the module.
- `findByName()` - Alternative to `this.els[name]`.
- `getOption(