Some ideas
1) Add the options manually like currently we have the free option to move pieces anywhere
<chessboard :free="true"/>
For instance viewOnly,
2) Option to pass a config like this, the question is if we can pass also methods like the events.after.
chessground has a lot of options https://github.com/ornicar/chessground/blob/master/src/config.ts The idea is to wrap those options in a generic way so they are always available.
Some ideas 1) Add the options manually like currently we have the
free
option to move pieces anywhere<chessboard :free="true"/>
For instanceviewOnly
, 2) Option to pass a config like this, the question is if we can pass also methods like the events.after.