Perseus
Preparing search index...
@khanacademy/perseus
ApiOptions
Variable ApiOptions
Const
ApiOptions
:
{
defaults
:
Readonly
<
Readonly
<
{
answerableCallback
?:
(
arg1
:
boolean
)
=>
unknown
;
baseElements
?:
{
Link
:
ComponentType
<
any
>
}
;
canScrollPage
?:
boolean
;
customKeypad
?:
boolean
;
editingDisabled
?:
boolean
;
editorChangeDelay
?:
number
;
flags
?:
Record
<
|
"new-radio-widget"
|
"image-widget-upgrade-gif-controls"
|
"image-widget-upgrade-scale"
|
"interactive-graph-absolute-value"
|
"interactive-graph-tangent"
|
"interactive-graph-logarithm"
|
"interactive-graph-exponent"
|
"interactive-graph-vector"
,
boolean
,
>
;
getAnotherHint
?:
()
=>
unknown
;
hintProgressColor
?:
string
;
imagePlaceholder
?:
ReactNode
;
imagePreloader
?:
(
dimensions
:
Dimensions
)
=>
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
?:
ReactNode
;
}
,
>
&
{
baseElements
:
{
Link
:
ComponentType
<
any
>
}
;
canScrollPage
:
NonNullable
<
boolean
|
undefined
>
;
editingDisabled
:
NonNullable
<
boolean
|
undefined
>
;
editorChangeDelay
:
number
;
isArticle
:
NonNullable
<
boolean
|
undefined
>
;
isMobile
:
NonNullable
<
boolean
|
undefined
>
;
isMobileApp
:
NonNullable
<
boolean
|
undefined
>
;
onFocusChange
:
(
newFocusPath
:
FocusPath
,
oldFocusPath
:
FocusPath
,
keypadHeight
?:
number
,
focusedElement
?:
HTMLElement
,
)
=>
unknown
;
readOnly
:
NonNullable
<
boolean
|
undefined
>
;
setDrawingAreaAvailable
:
(
arg1
:
boolean
)
=>
unknown
;
showAlignmentOptions
:
NonNullable
<
boolean
|
undefined
>
;
}
,
>
;
propTypes
:
any
;
}
= ...
Type Declaration
Readonly
defaults
:
Readonly
<
Readonly
<
{
answerableCallback
?:
(
arg1
:
boolean
)
=>
unknown
;
baseElements
?:
{
Link
:
ComponentType
<
any
>
}
;
canScrollPage
?:
boolean
;
customKeypad
?:
boolean
;
editingDisabled
?:
boolean
;
editorChangeDelay
?:
number
;
flags
?:
Record
<
|
"new-radio-widget"
|
"image-widget-upgrade-gif-controls"
|
"image-widget-upgrade-scale"
|
"interactive-graph-absolute-value"
|
"interactive-graph-tangent"
|
"interactive-graph-logarithm"
|
"interactive-graph-exponent"
|
"interactive-graph-vector"
,
boolean
,
>
;
getAnotherHint
?:
()
=>
unknown
;
hintProgressColor
?:
string
;
imagePlaceholder
?:
ReactNode
;
imagePreloader
?:
(
dimensions
:
Dimensions
)
=>
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
?:
ReactNode
;
}
,
>
&
{
baseElements
:
{
Link
:
ComponentType
<
any
>
}
;
canScrollPage
:
NonNullable
<
boolean
|
undefined
>
;
editingDisabled
:
NonNullable
<
boolean
|
undefined
>
;
editorChangeDelay
:
number
;
isArticle
:
NonNullable
<
boolean
|
undefined
>
;
isMobile
:
NonNullable
<
boolean
|
undefined
>
;
isMobileApp
:
NonNullable
<
boolean
|
undefined
>
;
onFocusChange
:
(
newFocusPath
:
FocusPath
,
oldFocusPath
:
FocusPath
,
keypadHeight
?:
number
,
focusedElement
?:
HTMLElement
,
)
=>
unknown
;
readOnly
:
NonNullable
<
boolean
|
undefined
>
;
setDrawingAreaAvailable
:
(
arg1
:
boolean
)
=>
unknown
;
showAlignmentOptions
:
NonNullable
<
boolean
|
undefined
>
;
}
,
>
Readonly
propTypes
:
any
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Perseus
Loading...