This is documentation for version 2.8. For the latest API, see version 2.9.
Version: 2.8
registerBrick
Callable
registerBrick(tag: string, brick: new () => Brick, ...args: any): void
Static function that must be called for every brick used in an application.
It registers the brick code in the registry with the specified tag and return the Entry for that brick.
Static function that must be called for every brick used in an application. It registers the brick code in the registry with the specified tag and return the Entry for that brick.