micro:bit tech site
GitHub
Preparing search index...
The search index is not available
Python Editor Embed
Python Editor Embed
react
PythonEditorFrameProps
Interface PythonEditorFrameProps
interface
PythonEditorFrameProps
{
controller
?:
1
|
2
;
controllerId
?:
string
;
initialProjects
:
()
=>
Promise
<
PythonProject
[]
>
;
lang
?:
string
;
queryParams
?:
Record
<
string
,
string
>
;
version
?:
string
;
onWorkspaceLoaded
(
event
:
PythonEditorWorkspaceRequest
)
:
void
;
onWorkspaceSave
(
event
:
PythonEditorWorkspaceRequest
)
:
void
;
onWorkspaceSync
(
event
:
PythonEditorWorkspaceRequest
)
:
void
;
}
Hierarchy
ComponentPropsWithoutRef
<
"iframe"
>
PythonEditorFrameProps
Index
Properties
controller?
controller
Id?
initial
Projects
lang?
query
Params?
version?
Methods
on
Workspace
Loaded?
on
Workspace
Save?
on
Workspace
Sync?
Properties
Optional
controller
controller
?:
1
|
2
Optional
controller
Id
controllerId
?:
string
initial
Projects
initialProjects
:
()
=>
Promise
<
PythonProject
[]
>
Optional
lang
lang
?:
string
Optional
query
Params
queryParams
?:
Record
<
string
,
string
>
Optional
version
version
?:
string
Methods
Optional
on
Workspace
Loaded
onWorkspaceLoaded
(
event
:
PythonEditorWorkspaceRequest
)
:
void
Parameters
event
:
PythonEditorWorkspaceRequest
Returns
void
Optional
on
Workspace
Save
onWorkspaceSave
(
event
:
PythonEditorWorkspaceRequest
)
:
void
Parameters
event
:
PythonEditorWorkspaceRequest
Returns
void
Optional
on
Workspace
Sync
onWorkspaceSync
(
event
:
PythonEditorWorkspaceRequest
)
:
void
Parameters
event
:
PythonEditorWorkspaceRequest
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
controller
controller
Id
initial
Projects
lang
query
Params
version
Methods
on
Workspace
Loaded
on
Workspace
Save
on
Workspace
Sync
micro:bit tech site
GitHub
Python Editor Embed
Loading...