阻塞 > IFocusableTree > onTreeBlur

IFocusableTree.onTreeBlur() 方法

当此树之前处于活跃焦点的节点现在处于被动焦点,并且此树没有其他活跃节点取代它时调用。

这与 onTreeFocus() 具有相同的实现限制和注意事项。

Signature:

onTreeBlur(nextTree: IFocusableTree | null): void;

参数

参数 类型 说明
nextTree IFocusableTree | null 下一个接收有效焦点的树,如果没有则为 null(例如,当 Blockly 完全失去 DOM 焦点时)。

返回

void