Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/esengine/esengine
/ getChildIndex
Method
getChildIndex
packages/fairygui/src/core/GComponent.ts:242–244 ·
view source on GitHub ↗
* Get child index * 获取子对象索引
(child: GObject)
Source
from the content-addressed store, hash-verified
240
* 获取子对象索引
241
*/
242
public getChildIndex(child: GObject): number {
243
return
this._children.indexOf(child);
244
}
245
246
/**
247
* Set child index
Callers
8
childStateChanged
Method · 0.95
bringToFront
Method · 0.80
removeItem
Method · 0.80
replaceMe
Method · 0.80
addBeforeMe
Method · 0.80
addAfterMe
Method · 0.80
isTop
Method · 0.80
setSelectionOnEvent
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected