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

ConstructorModifiersDescription
(constructor)(config)(BETA) Construct a new Builder.

Properties

PropertyModifiersTypeDescription
configConfig(BETA) The Configuration definition.
CONSTANTS

readonly

static

typeof CONSTANTS(BETA) Constants associated with this Builder class.
typereadonlystring(BETA) The type of this Builder.
type

readonly

static

string(BETA) Type of this Builder class.

Methods

MethodModifiersDescription
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.