Javascript: HeaderFooterEventArgs.connectedToPrevious Property
Description
Specifies whether the header or footer is connected to previous section.
Syntax
<Boolean> HeaderFooterEventArgs.connectedToPreviousExamples
The following example demonstrates HeaderFooterEventArgs.connectedToPrevious in a practical document-editing workflow. It specifies whether the header or footer is connected to previous section.
function inspectConnectedToPrevious(headerFooterEventArgs) {
const connectedToPrevious = headerFooterEventArgs.connectedToPrevious;
console.log("connected to previous:", connectedToPrevious);
}