Skip to content

textmode.js / loading / LoadingLayerController

Class: LoadingLayerController

Controls the internal loading layer lifecycle and rendering behavior.

Extends

Methods

_dispose()

ts
_dispose(): void;

Disposes of the internal layer and its resources.

Returns

void

Inherited from

ts
InternalLayerController._dispose

draw()

ts
draw(callback?): void;

Overridable method to set a custom draw callback for rendering the internal layer. If not set, the layer will use the default template.

Parameters

ParameterTypeDescription
callback?(context) => voidCustom draw callback that receives the rendering context.

Returns

void

Inherited from

ts
InternalLayerController.draw