(DOM_el)
| 10 | }; |
| 11 | |
| 12 | constructor(DOM_el) { |
| 13 | this.DOM.el = DOM_el; |
| 14 | this.DOM.number = this.DOM.el.querySelector('.card__box-number'); |
| 15 | this.DOM.tags = this.DOM.el.querySelector('.card__box-tags'); |
| 16 | this.DOM.category = this.DOM.el.querySelector('.card__box-category'); |
| 17 | |
| 18 | if ( this.DOM.number ) { |
| 19 | this.DOM.number.dataset.splitting = ''; |
| 20 | } |
| 21 | if ( this.DOM.category ) { |
| 22 | this.DOM.category.dataset.splitting = ''; |
| 23 | } |
| 24 | Splitting(); |
| 25 | if ( this.DOM.number ) |
| 26 | this.DOM.numberChars = this.DOM.number.querySelectorAll('.char'); |
| 27 | if ( this.DOM.category ) |
| 28 | this.DOM.categoryChars = this.DOM.category.querySelectorAll('.char'); |
| 29 | } |
| 30 | |
| 31 | } |
| 32 |
nothing calls this directly
no outgoing calls
no test coverage detected