NeoChessProps
Defined in: src/react/NeoChessBoard.tsx:185
Extends
Omit\<BoardOptions,"fen"|"position"|"rulesAdapter"|"squareRenderer"|"pieces"|"boardStyle">
Properties
allowAutoScroll?
optionalallowAutoScroll:boolean
Defined in: src/core/types.ts:487
Inherited from
allowDragging?
optionalallowDragging:boolean
Defined in: src/core/types.ts:488
Inherited from
allowDragOffBoard?
optionalallowDragOffBoard:boolean
Defined in: src/core/types.ts:489
Inherited from
BoardOptions.allowDragOffBoard
allowDrawingArrows?
optionalallowDrawingArrows:boolean
Defined in: src/core/types.ts:512
Inherited from
BoardOptions.allowDrawingArrows
allowPremoves?
optionalallowPremoves:boolean
Defined in: src/core/types.ts:496
Inherited from
alphaNotationStyle?
optionalalphaNotationStyle:NotationStyleOptions
Defined in: src/core/types.ts:525
Inherited from
BoardOptions.alphaNotationStyle
animation?
optionalanimation:BoardAnimationConfig
Defined in: src/core/types.ts:475
Inherited from
animationDurationInMs?
optionalanimationDurationInMs:number
Defined in: src/core/types.ts:477
Inherited from
BoardOptions.animationDurationInMs
animationEasing?
optionalanimationEasing:AnimationEasing
Defined in: src/core/types.ts:478
Inherited from
animationMs?
optionalanimationMs:number
Defined in: src/core/types.ts:476
Inherited from
arrowOptions?
optionalarrowOptions:ArrowStyleOptions
Defined in: src/core/types.ts:514
Inherited from
arrows?
optionalarrows:Arrow[]
Defined in: src/core/types.ts:513
Inherited from
autoFlip?
optionalautoFlip:boolean
Defined in: src/core/types.ts:505
Inherited from
boardOrientation?
optionalboardOrientation:"white"|"black"
Defined in: src/react/NeoChessBoard.tsx:195
Overrides
boardStyle?
optionalboardStyle:InlineStyle|CSSProperties
Defined in: src/react/NeoChessBoard.tsx:194
cameraEffects?
optionalcameraEffects:BoardCameraEffectsOptions
Defined in: src/core/types.ts:479
Inherited from
canDragPiece()?
optionalcanDragPiece: (params) =>boolean
Defined in: src/core/types.ts:490
Parameters
params
Returns
boolean
Inherited from
captureEffect?
optionalcaptureEffect:CaptureEffectOptions
Defined in: src/core/types.ts:509
Inherited from
captureEffectRenderer?
optionalcaptureEffectRenderer:ReactCaptureEffectRenderer
Defined in: src/react/NeoChessBoard.tsx:198
chessboardColumns?
optionalchessboardColumns:number
Defined in: src/core/types.ts:470
Inherited from
BoardOptions.chessboardColumns
chessboardRows?
optionalchessboardRows:number
Defined in: src/core/types.ts:469
Inherited from
className?
optionalclassName:string
Defined in: src/react/NeoChessBoard.tsx:192
clearArrowsOnClick?
optionalclearArrowsOnClick:boolean
Defined in: src/core/types.ts:516
Inherited from
BoardOptions.clearArrowsOnClick
clock?
optionalclock:ClockConfig
Defined in: src/core/types.ts:532
Inherited from
darkSquareNotationStyle?
optionaldarkSquareNotationStyle:NotationStyleOptions
Defined in: src/core/types.ts:524
Inherited from
BoardOptions.darkSquareNotationStyle
darkSquareStyle?
optionaldarkSquareStyle:SquareStyleOptions
Defined in: src/core/types.ts:521
Inherited from
dragActivationDistance?
optionaldragActivationDistance:number
Defined in: src/core/types.ts:491
Inherited from
BoardOptions.dragActivationDistance
dragCancelOnEsc?
optionaldragCancelOnEsc:boolean
Defined in: src/core/types.ts:495
Inherited from
dragGhostOpacity?
optionaldragGhostOpacity:number
Defined in: src/core/types.ts:494
Inherited from
dragGhostPiece?
optionaldragGhostPiece:boolean
Defined in: src/core/types.ts:493
Inherited from
dragSnapToSquare?
optionaldragSnapToSquare:boolean
Defined in: src/core/types.ts:492
Inherited from
extensions?
optionalextensions:ExtensionConfig\<unknown>[]
Defined in: src/core/types.ts:510
Inherited from
fen?
optionalfen:string
Defined in: src/react/NeoChessBoard.tsx:190
highlightLegal?
optionalhighlightLegal:boolean
Defined in: src/core/types.ts:481
Inherited from
id?
optionalid:string
Defined in: src/core/types.ts:517
Inherited from
interactive?
optionalinteractive:boolean
Defined in: src/core/types.ts:471
Inherited from
lightSquareNotationStyle?
optionallightSquareNotationStyle:NotationStyleOptions
Defined in: src/core/types.ts:523
Inherited from
BoardOptions.lightSquareNotationStyle
lightSquareStyle?
optionallightSquareStyle:SquareStyleOptions
Defined in: src/core/types.ts:520
Inherited from
maxArrows?
optionalmaxArrows:number
Defined in: src/core/types.ts:501
Inherited from
maxHighlights?
optionalmaxHighlights:number
Defined in: src/core/types.ts:502
Inherited from
numericNotationStyle?
optionalnumericNotationStyle:NotationStyleOptions
Defined in: src/core/types.ts:526
Inherited from
BoardOptions.numericNotationStyle
onArrowsChange()?
optionalonArrowsChange: (arrows) =>void
Defined in: src/core/types.ts:515
Parameters
arrows
Arrow[]
Returns
void
Inherited from
onClockChange()?
optionalonClockChange: (state) =>void
Defined in: src/react/NeoChessBoard.tsx:211
Parameters
state
Returns
void
onClockFlag()?
optionalonClockFlag: (e) =>void
Defined in: src/react/NeoChessBoard.tsx:214
Parameters
e
color
remaining
number
Returns
void
onClockPause()?
optionalonClockPause: () =>void
Defined in: src/react/NeoChessBoard.tsx:213
Returns
void
onClockStart()?
optionalonClockStart: () =>void
Defined in: src/react/NeoChessBoard.tsx:212
Returns
void
onIllegal()?
optionalonIllegal: (e) =>void
Defined in: src/react/NeoChessBoard.tsx:200
Parameters
e
from
`${string}${number}`
reason
string
to
`${string}${number}`
Returns
void
onMove()?
optionalonMove: (e) =>void
Defined in: src/react/NeoChessBoard.tsx:199
Parameters
e
captured?
string | null
fen
string
from
`${string}${number}`
san?
string
to
`${string}${number}`
Returns
void
onPieceClick()?
optionalonPieceClick: (e) =>void
Defined in: src/react/NeoChessBoard.tsx:208
Parameters
e
Returns
void
onPieceDrag()?
optionalonPieceDrag: (e) =>void
Defined in: src/react/NeoChessBoard.tsx:209
Parameters
e
Returns
void
onPieceDrop()?
optionalonPieceDrop: (e) =>void
Defined in: src/react/NeoChessBoard.tsx:210
Parameters
e
Returns
void
onPromotionRequired()?
optionalonPromotionRequired: (request) =>void|Promise\<void>
Defined in: src/core/types.ts:511
Parameters
request
Returns
void | Promise\<void>
Inherited from
BoardOptions.onPromotionRequired
onPuzzleComplete()?
optionalonPuzzleComplete: (event) =>void
Defined in: src/react/NeoChessBoard.tsx:218
Parameters
event
attempts
number
durationMs?
number
puzzleId
string
Returns
void
onPuzzleEvent()?
optionalonPuzzleEvent: (event) =>void
Defined in: src/react/NeoChessBoard.tsx:220
Parameters
event
Returns
void
onPuzzleHint()?
optionalonPuzzleHint: (event) =>void
Defined in: src/react/NeoChessBoard.tsx:217
Parameters
event
hintPayload?
string
hintType
"text" | "origin-highlight"
hintUsage
number
puzzleId
string
Returns
void
onPuzzleLoad()?
optionalonPuzzleLoad: (event) =>void
Defined in: src/react/NeoChessBoard.tsx:215
Parameters
event
collectionId
string
puzzle
PuzzleDefinition
session
PuzzleSessionState
Returns
void
onPuzzleMove()?
optionalonPuzzleMove: (event) =>void
Defined in: src/react/NeoChessBoard.tsx:216
Parameters
event
attempts
number
cursor
number
move
string
puzzleId
string
result
"correct" | "incorrect"
Returns
void
onPuzzlePersistenceWarning()?
optionalonPuzzlePersistenceWarning: (event) =>void
Defined in: src/react/NeoChessBoard.tsx:219
Parameters
event
error
string
fallback
"memory"
Returns
void
onSquareClick()?
optionalonSquareClick: (e) =>void
Defined in: src/react/NeoChessBoard.tsx:202
Parameters
e
Returns
void
onSquareMouseDown()?
optionalonSquareMouseDown: (e) =>void
Defined in: src/react/NeoChessBoard.tsx:203
Parameters
e
Returns
void
onSquareMouseOut()?
optionalonSquareMouseOut: (e) =>void
Defined in: src/react/NeoChessBoard.tsx:207
Parameters
e
Returns
void
onSquareMouseOver()?
optionalonSquareMouseOver: (e) =>void
Defined in: src/react/NeoChessBoard.tsx:206
Parameters
e
Returns
void
onSquareMouseUp()?
optionalonSquareMouseUp: (e) =>void
Defined in: src/react/NeoChessBoard.tsx:204
Parameters
e
Returns
void
onSquareRightClick()?
optionalonSquareRightClick: (e) =>void
Defined in: src/react/NeoChessBoard.tsx:205
Parameters
e
Returns
void
onUpdate()?
optionalonUpdate: (e) =>void
Defined in: src/react/NeoChessBoard.tsx:201
Parameters
e
fen
string
Returns
void
orientation?
optionalorientation:"white"|"black"
Defined in: src/core/types.ts:467
Inherited from
pgnWorkerThreshold?
optionalpgnWorkerThreshold:number
Defined in: src/core/types.ts:536
Inherited from
BoardOptions.pgnWorkerThreshold
pieces?
optionalpieces:Partial\<Record\<Piece,PieceRenderer>> |Partial\<Record\<Piece,ReactPieceRenderer>>
Defined in: src/react/NeoChessBoard.tsx:197
pieceSet?
optionalpieceSet:PieceSet
Defined in: src/core/types.ts:473
Inherited from
position?
optionalposition:string
Defined in: src/react/NeoChessBoard.tsx:191
premove?
optionalpremove:BoardPremoveSettings
Defined in: src/core/types.ts:497
Inherited from
promotion?
optionalpromotion:PromotionOptions
Defined in: src/core/types.ts:530
Inherited from
puzzleMode?
optionalpuzzleMode:PuzzleModeConfig
Defined in: src/core/types.ts:531
Inherited from
rightClickHighlights?
optionalrightClickHighlights:boolean
Defined in: src/core/types.ts:500
Inherited from
BoardOptions.rightClickHighlights
showAnimations?
optionalshowAnimations:boolean
Defined in: src/core/types.ts:480
Inherited from
showArrows?
optionalshowArrows:boolean
Defined in: src/core/types.ts:498
Inherited from
showCoordinates?
optionalshowCoordinates:boolean
Defined in: src/core/types.ts:474
Inherited from
showHighlights?
optionalshowHighlights:boolean
Defined in: src/core/types.ts:499
Inherited from
showNotation?
optionalshowNotation:boolean
Defined in: src/core/types.ts:527
Inherited from
showSquareNames?
optionalshowSquareNames:boolean
Defined in: src/core/types.ts:504
Inherited from
size?
optionalsize:number
Defined in: src/core/types.ts:466
Inherited from
soundEnabled?
optionalsoundEnabled:boolean
Defined in: src/core/types.ts:503
Inherited from
soundEventUrls?
optionalsoundEventUrls:Partial\<Record\<BoardSoundEventType,BoardSoundEventUrl>>
Defined in: src/core/types.ts:508
Inherited from
soundUrl?
optionalsoundUrl:string
Defined in: src/core/types.ts:506
Inherited from
soundUrls?
optionalsoundUrls:Partial\<Record\<"white"|"black",string>>
Defined in: src/core/types.ts:507
Inherited from
squareRenderer?
optionalsquareRenderer:SquareRenderer|ReactSquareRenderer
Defined in: src/react/NeoChessBoard.tsx:196
squareStyle?
optionalsquareStyle:SquareStyleOptions
Defined in: src/core/types.ts:519
Inherited from
squareStyles?
optionalsquareStyles:Partial\<Record\<`${string}${number}`,SquareStyleOptions>>
Defined in: src/core/types.ts:522
Inherited from
style?
optionalstyle:CSSProperties
Defined in: src/react/NeoChessBoard.tsx:193
theme?
optionaltheme:string|Theme
Defined in: src/core/types.ts:472
Inherited from
useWorkerForLegalMoves?
optionaluseWorkerForLegalMoves:boolean
Defined in: src/core/types.ts:534
Inherited from
BoardOptions.useWorkerForLegalMoves
useWorkerForPgnParsing?
optionaluseWorkerForPgnParsing:boolean
Defined in: src/core/types.ts:535
Inherited from
BoardOptions.useWorkerForPgnParsing
variant?
optionalvariant:Variant
Defined in: src/core/types.ts:484