Skip to content

ViewRegistry.registerView method

ViewRegistry › registerView

Unofficial

Register a view constructor for a view type.

Signature:

registerView(type: string, viewCreator: ViewCreator): void

Parameters:

ParameterTypeDescription
typestringThe view type identifier.
viewCreatorViewCreatorThe view creator function.

Returns: void