Workspace.getActiveViewOfType method
Workspace › getActiveViewOfType
Official
Get the currently active view of a given type.Signature:
getActiveViewOfType(type: Constructor<T>): T | nullParameters:
| Parameter | Type | Description |
|---|---|---|
| type | Constructor<T> |
Returns: T | null
Since: 0.9.16