This commit is contained in:
Asaki Yuki 2026-01-25 02:50:36 +07:00
parent e7ac672470
commit 406e71575f
6 changed files with 22 additions and 16 deletions

View file

@ -96,6 +96,8 @@ export class UI<T extends Type, K extends Renderer | null = null> extends Class
}
this.bindings.push(binding)
}
return this
}
addChild<T extends Type, K extends Renderer | null>(child: UI<T, K>, properties?: Properties<T, K>, name?: string) {