UNPKG

chessfield

Version:

A TypeScript+ThreeJS library to render a 3D chessboard

21 lines (20 loc) 526 B
import { Themes } from './chessfield.types'; import * as cg from 'chessground/types'; import * as cf from './chessfield.types'; export interface ChessfieldConfig { mode?: cf.Mode; theme?: cf.Theme; fen?: cg.FEN; lastMove?: cg.Key[]; orientation?: cg.Color; camera?: cf.Camera; angle?: cf.Angle; turnColor?: cg.Color; coordinatesOnSquares?: boolean; plugins?: { themes?: Themes; }; controlsEnabled?: boolean; zoomMinDistance?: number; zoomMaxDistance?: number; }