Skip to main content

blockly > IFocusableTree > onTreeBlur

IFocusableTree.onTreeBlur() method

Called when the previously actively focused node of this tree is now passively focused and there is no other active node of this tree taking its place.

This has the same implementation restrictions and considerations as onTreeFocus().

Signature:

onTreeBlur(nextTree: IFocusableTree | null): void;

Parameters

Parameter

Type

Description

nextTree

IFocusableTree | null

The next tree receiving active focus, or null if none (such as in the case that Blockly is entirely losing DOM focus).

Returns:

void