Skip to main content

Home > blockly > Workspace > setIsReadOnly

Workspace.setIsReadOnly() method

Sets whether or not this workspace is in readonly mode.

Signature:

setIsReadOnly(readOnly: boolean): void;

Parameters

ParameterTypeDescription
readOnlybooleanTrue to make the workspace readonly, otherwise false.

Returns:

void