blockly > BlockDragger > updateToolboxStyle_

BlockDragger.updateToolboxStyle_() method

Adds or removes the style of the cursor for the toolbox. This is what changes the cursor to display an x when a deletable block is held over the toolbox.

Signature:

protected updateToolboxStyle_(isEnd: boolean): void;

Parameters

Parameter Type Description
isEnd boolean True if we are at the end of a drag, false otherwise.

Returns:

void