OlympeFunctionsregisterBrickVersion: 2.4registerBrick CallableregisterBrick(tag: string, brick: new () => Brick, ...args: any): anyStatic 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.Parameterstag: stringthe brick unique idbrick: new () => Brickthe brick classrest...args: anyExtra argumentsReturns 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.