Skip to content

InternalPlugin.registerViewType method

InternalPlugin › registerViewType

Unofficial

Register a view type with its creator function.

Signature:

registerViewType(type: string, creator: ViewCreator): void

Parameters:

ParameterTypeDescription
typestringThe view type identifier.
creatorViewCreatorThe factory function to create the view.

Returns: void