Class: Builder

Class: Builder

ComponentGroup. Builder

new Builder(engine)

This class helps to create a ComponentGroup object.

Parameters:
Name Type Description
engine Engine

The Engine which will use this object.

Source:

Methods

build() → {ComponentGroup}

Builds ComponentGroup object.

Source:
Returns:

The CompoentGroup object.

Type
ComponentGroup

contain() → {ComponentGroup.Builder}

Sets contain condition of the object.

Parameters:
Name Type Description
args... function

The list of component constructors.

Source:
Returns:

The Builder itself to make it chainable.

Type
ComponentGroup.Builder

exclude() → {ComponentGroup.Builder}

Sets exclude condition of the object.

Parameters:
Name Type Description
args... function

The list of component constructors.

Source:
Returns:

The Builder itself to make it chainable.

Type
ComponentGroup.Builder

intersect() → {ComponentGroup.Builder}

Sets intersect condition of the object.

Parameters:
Name Type Description
args... function

The list of component constructors.

Source:
Returns:

The Builder itself to make it chainable.

Type
ComponentGroup.Builder

reset() → {ComponentGroup.Builder}

Resets the criteria of this object.

Source:
Returns:

The Builder itself to make it chainable.

Type
ComponentGroup.Builder