Home > DMT_EditorControl > activateDocument
DMT_EditorControl.activateDocument() method
Activate a document
Signature
typescript
function activateDocument(tabId: string): Promise<boolean>;1
Parameters
Parameter | Type | Description |
|---|---|---|
tabId | string | Tab ID |
Returns
Promise<boolean>
Whether the operation is successful
Remarks
Switch to the tab of the specified document and place the input focus in it