Perseus
Preparing search index...
@khanacademy/perseus-editor
<internal>
MatrixEditor
Class MatrixEditor
Hierarchy
Component
<
Props
>
MatrixEditor
Index
Constructors
constructor
Properties
change
on
Matrix
Board
Size
Change
serialize
default
Props
prop
Types
widget
Name
Methods
render
Constructors
constructor
new
MatrixEditor
(
props
:
any
)
:
MatrixEditor
Parameters
props
:
any
Returns
MatrixEditor
new
MatrixEditor
(
props
:
any
,
context
:
any
)
:
MatrixEditor
Parameters
props
:
any
context
:
any
Returns
MatrixEditor
Deprecated
See
React Docs
Properties
change
change
:
(
arg1
:
any
,
arg2
?:
any
,
arg3
?:
any
)
=>
any
= ...
on
Matrix
Board
Size
Change
onMatrixBoardSizeChange
:
(
arg1
:
[
number
,
number
]
)
=>
void
= ...
serialize
serialize
:
()
=>
any
= ...
Static
default
Props
defaultProps
:
MatrixDefaultWidgetOptions
= matrixLogic.defaultWidgetOptions
Static
prop
Types
propTypes
:
{
answers
:
any
;
cursorPosition
:
any
;
matrixBoardSize
:
any
;
onChange
:
any
;
prefix
:
any
;
suffix
:
any
;
}
= ...
Static
widget
Name
widgetName
:
"matrix"
= ...
Methods
render
render
()
:
ReactNode
Returns
ReactNode
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
change
on
Matrix
Board
Size
Change
serialize
default
Props
prop
Types
widget
Name
Methods
render
Perseus
Loading...
Deprecated
See
React Docs