Closed vesper8 closed 1 year ago
It should work, just try the "Remove all dots" Button in this example: https://shaack.com/projekte/cm-chessboard/examples/input-callbacks.html
The above link doesn't seem to go anywhere.
It was moved to here: https://shaack.com/projekte/cm-chessboard/examples/extensions/markers-extension.html
Thanks Stefan. I have that. I thought it was for another version or a new page.
Using cm-chessboard@5.3.3
I have this code
It correctly adds the markers, but then it doesn't remove them.
The line
this.chessboard.removeMarkers(CONSOLE_MARKER_TYPE.lastMove);
just does nothing.It works if I remove the type:
this.chessboard.removeMarkers();
Am I doing something wrong?