(attributeName, oldValue, newValue)
| 6 | } |
| 7 | |
| 8 | attributeChangedCallback (attributeName, oldValue, newValue) { |
| 9 | if (attributeName === 'class' && oldValue !== newValue) { |
| 10 | this.trigger() |
| 11 | } |
| 12 | } |
| 13 | |
| 14 | trigger () { |
| 15 | const hasHiddenClass = this.classList.contains('hidden') |