(readonly skeleton: ISkeleton, readonly name: string, handle: (item: T | C) => T, private exclusive?: boolean, defaultSetCurrent = false)
| 38 | private lastCurrent: T | null = null; |
| 39 | |
| 40 | constructor(readonly skeleton: ISkeleton, readonly name: string, handle: (item: T | C) => T, private exclusive?: boolean, defaultSetCurrent = false) { |
| 41 | makeObservable(this); |
| 42 | this.container = skeleton.createContainer(name, handle, exclusive, () => this.visible, defaultSetCurrent); |
| 43 | } |
| 44 | |
| 45 | isEmpty(): boolean { |
| 46 | return this.container.items.length < 1; |
nothing calls this directly
no test coverage detected