blockly > ConnectionNavigationPolicy > getFirstChild
ConnectionNavigationPolicy.getFirstChild() 方法
返回给定连接的第一个子项。
Signature:
getFirstChild(current: RenderedConnection): IFocusableNode | null;
参数
参数 | 类型 | 说明 |
---|---|---|
当前 | RenderedConnection | 用于返回其第一个子项的连接。 |
返回:
IFocusableNode | null
连接的第一个子元素,如果不为 null,则为 null。