Javascript: DocumentTargetInfo.targetName Property
Description
The name of the document target.
Syntax
<string> DocumentTargetInfo.targetNameExamples
The following example demonstrates DocumentTargetInfo.targetName in a practical document-editing workflow. The name of the document target.
function inspectTargetName(documentTargetInfo) {
const targetName = documentTargetInfo.targetName;
console.log("target name:", targetName);
}