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:

Parameter Type Description
type string The view type identifier.
creator ViewCreator The factory function to create the view.

Returns: void