(DOM_el)
| 20 | }; |
| 21 | |
| 22 | constructor(DOM_el) { |
| 23 | this.DOM.el = DOM_el; |
| 24 | this.DOM.number = this.DOM.el.querySelector('.card__box-number'); |
| 25 | this.DOM.tags = this.DOM.el.querySelector('.card__box-tags'); |
| 26 | this.DOM.category = this.DOM.el.querySelector('.card__box-category'); |
| 27 | |
| 28 | if ( this.DOM.number ) { |
| 29 | this.DOM.number.dataset.splitting = ''; |
| 30 | } |
| 31 | if ( this.DOM.category ) { |
| 32 | this.DOM.category.dataset.splitting = ''; |
| 33 | } |
| 34 | Splitting(); |
| 35 | if ( this.DOM.number ) |
| 36 | this.DOM.numberChars = this.DOM.number.querySelectorAll('.char'); |
| 37 | if ( this.DOM.category ) |
| 38 | this.DOM.categoryChars = this.DOM.category.querySelectorAll('.char'); |
| 39 | } |
| 40 | |
| 41 | } |
| 42 |
nothing calls this directly
no outgoing calls
no test coverage detected