Skip to content

View.constructor2__ method

View › constructor2__

Mock-only construction hook, called at the end of the constructor; a no-op meant for vi.spyOn(View.prototype, 'constructor2__').

Signature:

constructor2__(_leaf: WorkspaceLeaf): void

Parameters:

ParameterTypeDescription
_leafWorkspaceLeafThe leaf the view was created in.

Returns: void