Documentation

initialize()

Registers a callback to be called during view initialization.

initialize(callback: (view: TView) => void): void;

Note
The provided callback will be invoked after the view instance is created but before properties are set. This is useful for performing early initialization logic.

Parameters

Related