Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/esengine/esengine
/ toggleStatus
Method
toggleStatus
packages/fairygui/src/widgets/Window.ts:273–279 ·
view source on GitHub ↗
* Toggle window visibility * 切换窗口可见性
()
Source
from the content-addressed store, hash-verified
271
* 切换窗口可见性
272
*/
273
public toggleStatus(): void {
274
if
(this.isTop) {
275
this.hide();
276
}
else
{
277
this.show();
278
}
279
}
280
281
/**
282
* Check
if
window is showing
Callers
nothing calls this directly
Calls
2
hide
Method · 0.95
show
Method · 0.95
Tested by
no test coverage detected