OptionalcontrollerOptionalfiltersFilters 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.
OptionalonRequests the embedding app handles a press/tap on the back arrow.
Applies only with controller set to 2.
OptionalonRequests the embedding app handles a long press/tap on the back arrow. This is optional.
Applies only with controller set to 2.
OptionalonRequests the embedding app handles a download.
Applies only with controller set to 2.
OptionalonRequests the embedding app handles a save.
Applies only with controller set to 2.
OptionalsearchWhether to show the search bar.
OptionalonCalled when the main editor area is ready (e.g. after a project load).
OptionalonUpdates as a user progresses through a tutorial.
OptionalonEditor events including detail on block usage and help interactions.
OptionalonCalled when the workspace sync is complete.
OptionalonThis is only called via MakeCode UI, which is not visible in embedded mode.
It's intention is to delete all projects/settings.
OptionalonImplement this to update the data store that initialProjects reads from.
OptionalonThis 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.