UNPKG

lichess-pgn-viewer

Version:

PGN viewer widget, designed to be embedded in content pages.

24 lines (23 loc) 774 B
import { Opts } from './interfaces'; export default function (element: HTMLElement, cfg: Partial<Opts>): { pgn: string; fen?: string | undefined; chessground: import("chessground/config").Config; orientation?: "white" | "black" | undefined; showPlayers: import("./interfaces").ShowPlayers; showMoves: import("./interfaces").ShowMoves; showClocks: boolean; showControls: boolean; initialPly: number | "last"; scrollToMove: boolean; drawArrows: boolean; menu: { getPgn: { enabled?: boolean | undefined; fileName?: string | undefined; }; }; lichess: import("./interfaces").Lichess; classes?: string | undefined; translate?: import("./interfaces").Translate | undefined; };