add dump button
This commit is contained in:
parent
a56e77c378
commit
fbadf1d436
1 changed files with 1 additions and 0 deletions
|
|
@ -25,4 +25,5 @@
|
||||||
fen:
|
fen:
|
||||||
<input type="text" onkeypress={(e) => e.key === 'Enter' && board.loadFEN(fen)} bind:value={fen} />
|
<input type="text" onkeypress={(e) => e.key === 'Enter' && board.loadFEN(fen)} bind:value={fen} />
|
||||||
</label>
|
</label>
|
||||||
|
<button onclick={() => console.log(board)}>dump game to console</button>
|
||||||
</div>
|
</div>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue