Skip to content

Workspace.getActiveViewOfType method

Workspace › getActiveViewOfType

Official

Get the currently active view of a given type.

Signature:

getActiveViewOfType(type: Constructor<T>): T | null

Parameters:

Parameter Type Description
type Constructor<T>

Returns: T | null

Since: 0.9.16