blockly > Toolbox > updateCursorDeleteStyle_

Toolbox.updateCursorDeleteStyle_() method

Adds or removes the CSS style of the cursor over the toolbox based whether the block or bubble over it is expected to be deleted if dropped (using the internal this.wouldDelete_ property).

Signature:

protected updateCursorDeleteStyle_(addStyle: boolean): void;

Parameters

Parameter Type Description
addStyle boolean Whether the style should be added or removed.

Returns:

void