Properties
Optional
addCoordinatesToChatInput
addCoordinatesToChatInput?: ((coordinates) => void)
Type declaration
- (coordinates): void
Returns void
Optional
canvasAllocationErrorHandler
canvasAllocationErrorHandler?: ((note, error, extra) => void)
Type declaration
- (note, error, extra): void
Parameters
- note: null | string
- error: Error
- extra: {
height?: string | number;
total_allocations_made: number;
total_pixels_allocated: number;
width?: string | number;
}Optional
height?: string | number
total_allocations_made: number
total_pixels_allocated: number
Optional
width?: string | number
Returns void
Optional
customBlackStoneColor
customBlackStoneColor?: (() => string)
Optional
customBlackStoneUrl
customBlackStoneUrl?: (() => string)
Optional
customBlackTextColor
customBlackTextColor?: (() => string)
Optional
customBoardColor
customBoardColor?: (() => string)
Optional
customBoardLineColor
customBoardLineColor?: (() => string)
Optional
customBoardUrl
customBoardUrl?: (() => string)
Optional
customWhiteStoneColor
customWhiteStoneColor?: (() => string)
Optional
customWhiteStoneUrl
customWhiteStoneUrl?: (() => string)
Optional
customWhiteTextColor
customWhiteTextColor?: (() => string)
Optional
defaultConfig
defaultConfig?: (() => any)
Optional
getCDNReleaseBase
getCDNReleaseBase?: (() => string)
Optional
getClockDrift
getClockDrift?: (() => number)
Optional
getCoordinateDisplaySystem
getCoordinateDisplaySystem?: (() => "A1" | "1-1")
Type declaration
- (): "A1" | "1-1"
Returns "A1" | "1-1"
Optional
getLocation
getLocation?: (() => string)
Optional
getMoveTreeNumbering
getMoveTreeNumbering?: (() => "none" | "move-coordinates" | "move-number")
Type declaration
- (): "none" | "move-coordinates" | "move-number"
Returns "none" | "move-coordinates" | "move-number"
Optional
getNetworkLatency
getNetworkLatency?: (() => number)
Optional
getSelectedThemes
Optional
getShowUndoRequestIndicator
getShowUndoRequestIndicator?: (() => boolean)
Type declaration
- (): boolean
Returns boolean
Optional
getShowVariationMoveNumbers
getShowVariationMoveNumbers?: (() => boolean)
Type declaration
- (): boolean
Returns boolean
Optional
getSoundEnabled
getSoundEnabled?: (() => boolean)
Type declaration
- (): boolean
Returns boolean
Optional
getSoundVolume
getSoundVolume?: (() => number)
Optional
getStoneFontScale
getStoneFontScale?: (() => number)
Optional
isAnalysisDisabled
isAnalysisDisabled?: ((goban, perGameSettingAppliesToNonPlayers) => boolean)
Type declaration
- (goban, perGameSettingAppliesToNonPlayers): boolean
Parameters
- goban: GobanBase
- perGameSettingAppliesToNonPlayers: boolean
Returns boolean
Optional
toast
toast?: ((message_id, duration) => void)
Type declaration
- (message_id, duration): void
Parameters
- message_id: string
- duration: number
Returns void
Optional
updateScoreEstimation
updateScoreEstimation?: ((est_winning_color, number_of_points) => void)
Type declaration
- (est_winning_color, number_of_points): void
Parameters
- est_winning_color: "black" | "white"
- number_of_points: number
Returns void
Optional
watchSelectedThemes
watchSelectedThemes?: ((cb) => {
remove: (() => any);
})
Type declaration
- (cb): {
remove: (() => any);
} Parameters
- cb: ((themes) => void)
- (themes): void
Returns void
Returns {
remove: (() => any);
}