Web SDKv1.0.0

PDFViewer.showComment()

Open the Comments panel on the comment with that id (a reply's or a status's id opens its comment): its card chosen, its mark scrolled to and outlined.
methodComments and panelssince 1.0.0

Signature

showComment(id: string): Promise<boolean>

Parameters

ParameterTypeDescription
idstringA comment's id; a reply's or a status's id opens its comment.

Returns

Promise<boolean> false if no comment has it or the panel is not offered.

Throws

  • INVALID_STATE after destroy().

Example

TypeScript
await viewer.showComment(comment.id);

More in PDFViewer