mirror of
https://github.com/HeyPuter/puter.git
synced 2026-01-27 07:49:27 -06:00
dev: add lazy render option for UIElement
This commit is contained in:
@@ -126,7 +126,9 @@ export default def(class UIElement extends AdvancedBase {
|
||||
style.textContent = this.constructor.CSS;
|
||||
document.head.appendChild(style);
|
||||
}
|
||||
this.make(this);
|
||||
if ( ! this.constructor.LAZY_RENDER ) {
|
||||
this.make(this);
|
||||
}
|
||||
}
|
||||
|
||||
reinitialize () {
|
||||
|
||||
Reference in New Issue
Block a user