(container: HTMLElement, width: number, height: number)
| 355 | // ─── Lifecycle ────────────────────────────────────────────────────── |
| 356 | |
| 357 | init(container: HTMLElement, width: number, height: number): Promise<void> { |
| 358 | this.initPromise = this._init(container, width, height); |
| 359 | return this.initPromise; |
| 360 | } |
| 361 | |
| 362 | private async _init( |
| 363 | container: HTMLElement, |