FootnoteCallbackData Object
Description
The type of the response parameter of the AddFootnoteCallback callback function.
Syntax
{
footnote: <Footnote>,
added: <boolean>
}Examples
The following example demonstrates FootnoteCallbackData in a practical document-editing workflow. The type of the response parameter of the AddFootnoteCallback callback function.
function inspectFootnoteCallbackData(footnoteCallbackData) {
console.log("footnote:", footnoteCallbackData.footnote);
console.log("added:", footnoteCallbackData.added);
}