Skip to main content

blockly > WorkspaceSvg > setNavigator

WorkspaceSvg.setNavigator() method

Sets the Navigator instance used by this workspace.

Signature:

setNavigator(newNavigator: Navigator): void;

Parameters

Parameter

Type

Description

newNavigator

Navigator

A Navigator object to coordinate movement between elements on the workspace.

Returns:

void