Skip to main content

Home > blockly > WorkspaceSvg > setNavigator

WorkspaceSvg.setNavigator() method

Sets the Navigator instance used by this workspace.

Signature:

setNavigator(newNavigator: Navigator): void;

Parameters

ParameterTypeDescription
newNavigatorNavigatorA Navigator object to coordinate movement between elements on the workspace.

Returns:

void