addWinnerText() {
        // If the `status` is winner then add some text
        if (this.getAttribute('status') === 'winner') {
            const winnerSpan = document.createElement('span');
            winnerSpan.classList.add('winner');
            winnerSpan.innerText = 'Winner!!!';
            this.shadow.appendChild(winnerSpan);
        }
    }
/**
     * Adds text to our image indicating a winner
     */
Adds text to our image indicating a winner
Adds text to our image indicating a winner
addWinnerText() {
        if (this.getAttribute('status') === 'winner') {
            const winnerSpan = document.createElement('span');
            winnerSpan.classList.add('winner');
            winnerSpan.innerText = 'Winner!!!';
            this.shadow.appendChild(winnerSpan);
        }
    }
addWinnerText ( ) { if ( this . getAttribute ( 'status' ) === 'winner' ) { const winnerSpan = document . createElement ( 'span' ) ; winnerSpan . classList . add ( 'winner' ) ; winnerSpan . innerText = 'Winner!!!' ; this . shadow . appendChild ( winnerSpan ) ; } }
Adds text to our image indicating a winner
Adds text to our image indicating a winner
// If the `status` is winner then add some text