InternalPlugin.registerViewType method
InternalPlugin › registerViewType
Unofficial
Register a view type with its creator function.Signature:
registerViewType(type: string, creator: ViewCreator): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| type | string | The view type identifier. |
| creator | ViewCreator | The factory function to create the view. |
Returns: void