()
| 280 | } |
| 281 | |
| 282 | private addColorTransition() { |
| 283 | if (typeof document === 'undefined') { |
| 284 | return; |
| 285 | } |
| 286 | document.head.appendChild(this.colorTransitionElement); |
| 287 | } |
| 288 | private removeColorTransition() { |
| 289 | if (this.colorTransitionElement.parentElement) { |
| 290 | this.colorTransitionElement.parentElement.removeChild(this.colorTransitionElement); |