Skip to content

BaseComponent.then method

BaseComponent › then

Calls a function with the component, to configure it inside a builder chain.

Signature:

then(callback: (component: this) => unknown): this

Parameters:

ParameterTypeDescription
callback(component: this) => unknownCalled synchronously with this component.

Returns: this — This component, for chaining.