mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Refactor axo module
This commit is contained in:
parent
b7d43d3c5b
commit
039cc53f40
6 changed files with 581 additions and 51 deletions
13
modules/ppcp-axo/resources/js/Components/DomElement.js
Normal file
13
modules/ppcp-axo/resources/js/Components/DomElement.js
Normal 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;
|
Loading…
Add table
Add a link
Reference in a new issue