Home > @momentum-design/builder > Builders > generateBuilders

Builders.generateBuilders() method

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Generate Builder class Objects based on the current list of Builder constructors within this.config.defintions.

Signature:

generateBuilders(): this;

Returns:

this

  • This Builders after executing thsi method.

Remarks

This method requires an Array of fully qualified Builder class constructors to be availabile within the this.config.definitions value. Note that this method does not initialize the Builder Objects, and leaves this for a later functional call from this.initialize().