button(@click="flip()") ⇅
button(@click="play()") >
button(@click="gotoEnd()") >>
button(@click="flip()") ⇅
button(@click="play()") >
button(@click="gotoEnd()") >>
#downloadDiv(v-if="game.vname!='Dark' || game.score!='*'")
a#download(href="#")
button(@click="download()") {{ st.tr["Download"] }} PGN
#downloadDiv(v-if="game.vname!='Dark' || game.score!='*'")
a#download(href="#")
button(@click="download()") {{ st.tr["Download"] }} PGN
: window.innerWidth);
}
const movesWidth = (window.innerWidth >= 768 ? 280 : 0);
document.getElementById("boardContainer").style.width = boardSize + "px";
let gameContainer = document.getElementById("gameContainer");
gameContainer.style.width = (boardSize + movesWidth) + "px";
: window.innerWidth);
}
const movesWidth = (window.innerWidth >= 768 ? 280 : 0);
document.getElementById("boardContainer").style.width = boardSize + "px";
let gameContainer = document.getElementById("gameContainer");
gameContainer.style.width = (boardSize + movesWidth) + "px";
// timeout to avoid calling too many time the adjust method
let timeoutLaunched = false;
window.addEventListener("resize", (e) => {
// timeout to avoid calling too many time the adjust method
let timeoutLaunched = false;
window.addEventListener("resize", (e) => {