lichess-org/chessground

Discussion: Calling a custom function on board.set()

coffeeDev98 opened this issue · 1 comments

Hi,
Great work on the library!! Just had a doubt...
Is there any way to call a custom function on board.set?

This is relatively straight forward with a wrapper, right? I see how a hook could be more elegant in some cases, but generally the API is kept to the minimum needed by Lichess itself.