blockly > FlyoutNavigationPolicy > getFirstChild

FlyoutNavigationPolicy.getFirstChild() 方法

返回 null 以防止导航到展开式菜单项。

Signature:

getFirstChild(_current: T): IFocusableNode | null;

参数

参数 类型 说明
_current T 要从中导航的动作条目。

返回

IFocusableNode | null

为 null 以防止导航到弹出式菜单项。