Home > @momentum-design/builder > Builder
Builder class
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.
The Builder class to be extended by scoped Builder classes.
Signature:
declare class Builder
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(config) | (BETA) Construct a new Builder. |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
config | Config | (BETA) The Configuration definition. | |
CONSTANTS |
| typeof CONSTANTS | (BETA) Constants associated with this Builder class. |
type | readonly | string | (BETA) The type of this Builder. |
type |
| string | (BETA) Type of this Builder class. |
Methods
Method | Modifiers | Description |
---|---|---|
build() | (BETA) Build the output data based on the configuration provided to this Builder. | |
final() | (BETA) Final methods of this Builder. | |
initialize() | (BETA) Initialize this Builder. | |
process() | (BETA) Process this Builder. | |
read(target) | (BETA) Read the file located via the provided target and mount the data found within this Builder. |