Skip to content

BasesPluginInstance.getViewFactory method

BasesPluginInstance › getViewFactory

Unofficial

Gets the factory of a Bases view registration.

Signature:

getViewFactory(type: string): BasesViewFactory | null

Parameters:

ParameterTypeDescription
typestringThe view type to get the factory for.

Returns: BasesViewFactory | null — The view factory, or null if no view of that type is registered.