Refactor axo module

This commit is contained in:
Pedro Silva 2024-03-08 14:39:50 +00:00
parent b7d43d3c5b
commit 039cc53f40
No known key found for this signature in database
GPG key ID: E2EE20C0669D24B3
6 changed files with 581 additions and 51 deletions

View file

@ -0,0 +1,13 @@
class DomElement {
constructor(config) {
this.config = config;
this.selector = this.config.selector;
this.id = this.config.selector || null;
this.className = this.config.selector || null;
}
}
export default DomElement;