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:
|
||||
<input type="text" onkeypress={(e) => e.key === 'Enter' && board.loadFEN(fen)} bind:value={fen} />
|
||||
</label>
|
||||
<button onclick={() => console.log(board)}>dump game to console</button>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue