Perseus
Preparing search index...
@khanacademy/perseus
APIOptions
Type Alias APIOptions
APIOptions
:
Readonly
<
{
answerableCallback
?:
(
arg1
:
boolean
)
=>
unknown
;
baseElements
?:
{
Link
:
React.ComponentType
<
any
>
}
;
canScrollPage
?:
boolean
;
customKeypad
?:
boolean
;
editingDisabled
?:
boolean
;
editorChangeDelay
?:
number
;
flags
?:
Record
<
typeof
PerseusFeatureFlags
[
number
]
,
boolean
>
;
getAnotherHint
?:
()
=>
unknown
;
hintProgressColor
?:
string
;
imagePlaceholder
?:
React.ReactNode
;
imagePreloader
?:
(
dimensions
:
Dimensions
)
=>
React.ReactNode
;
interactionCallback
?:
(
widgetData
:
{
[
widgetId
:
string
]:
any
}
)
=>
void
;
isArticle
?:
boolean
;
isMobile
?:
boolean
;
isMobileApp
?:
boolean
;
nativeKeypadProxy
?:
(
blur
:
()
=>
void
)
=>
KeypadAPI
;
onFocusChange
?:
(
newFocusPath
:
FocusPath
,
oldFocusPath
:
FocusPath
,
keypadHeight
?:
number
,
focusedElement
?:
HTMLElement
,
)
=>
unknown
;
readOnly
?:
boolean
;
setDrawingAreaAvailable
?:
(
arg1
:
boolean
)
=>
unknown
;
showAlignmentOptions
?:
boolean
;
trackInteraction
?:
(
args
:
TrackInteractionArgs
)
=>
void
;
widgetPlaceholder
?:
React.ReactNode
;
}
,
>
APIOptions provides different ways to customize the behaviour of Perseus.
See
APIOptionsWithDefaults
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Perseus
Loading...
APIOptions provides different ways to customize the behaviour of Perseus.