Workspace.getActiveLeafOfViewType method
Workspace › getActiveLeafOfViewType
Unofficial
Get the active leaf of the given view type.Signature:
getActiveLeafOfViewType(type: Constructor<T>): null | TParameters:
| Parameter | Type | Description |
|---|---|---|
| type | Constructor<T> | The type of the view to get. |
Returns: null | T — The active leaf of the given type or null.