This is documentation for version 2.4. For the latest API, see version 2.9.
Version: 2.4
registerBrick
Callable
registerBrick(tag: string, brick: new () => Brick, ...args: any): any
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.