Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/esengine/esengine
/ removeFromParent
Method
removeFromParent
packages/fairygui/src/core/GObject.ts:630–634 ·
view source on GitHub ↗
* Remove this object from its parent * 从父容器移除
()
Source
from the content-addressed store, hash-verified
628
* 从父容器移除
629
*/
630
public removeFromParent(): void {
631
if
(this._parent) {
632
this._parent.removeChild(this);
633
}
634
}
635
636
// Group | 组
637
Callers
4
dispose
Method · 0.95
addChildAt
Method · 0.80
closeModalWait
Method · 0.80
hideTooltips
Method · 0.80
Calls
1
removeChild
Method · 0.45
Tested by
no test coverage detected