Home > @momentum-design/builder > Builder > initialize

Builder.initialize() 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.

Initialize this Builder.

Signature:

/** @virtual */
initialize(): Promise<this>;

Returns:

Promise<this>

  • This Builder after executing this method.

Remarks

This method should be implemented in class definitions that extend this class. The scope of this method is to perform setup flows needed to adjust data prior to writing it to the disk.