MCPcopy Create free account
hub / github.com/esengine/esengine / selected

Method selected

packages/fairygui/src/widgets/GButton.ts:196–198  ·  view source on GitHub ↗

* Get/set selected state * 获取/设置选中状态

()

Source from the content-addressed store, hash-verified

194 * 获取/设置选中状态
195 */
196 public get selected(): boolean {
197 return this._selected;
198 }
199
200 public set selected(value: boolean) {
201 if (this._mode === EButtonMode.Common) {

Callers

nothing calls this directly

Calls 2

setStateMethod · 0.95
hasPageMethod · 0.80

Tested by

no test coverage detected