Optional
controllerOptional
filtersFilters affecting the configuration of MakeCode.
A function that provides the initial set of projects to be used when initialising MakeCode.
This will also be used if the iframe reloads itself.
The projects will receive updates via onWorkspaceSave
and should be stored keyed by header
id.
Optional
onRequests the embedding app handles a press/tap on the back arrow.
Applies only with controller
set to 2
.
Optional
onRequests the embedding app handles a long press/tap on the back arrow. This is optional.
Applies only with controller
set to 2
.
Optional
onRequests the embedding app handles a download.
Applies only with controller
set to 2
.
Optional
onRequests the embedding app handles a save.
Applies only with controller
set to 2
.
Optional
searchWhether to show the search bar.
Optional
onCalled when the main editor area is ready (e.g. after a project load).
Optional
onUpdates as a user progresses through a tutorial.
Optional
onEditor events including detail on block usage and help interactions.
Optional
onCalled when the workspace sync is complete.
Optional
onThis is only called via MakeCode UI, which is not visible in embedded mode.
It's intention is to delete all projects/settings.
Optional
onImplement this to update the data store that initialProjects
reads from.
Optional
onThis is not typically needed as the driver responds to MakeCode's request to sync using the initialProjects option.
Set this to a value representing your app.