Sets what the notes panel shows when it lists no annotations: render when given; otherwise message (or readOnlyMessage for read-only documents) and icon (inline SVG markup, not drawn with hideIcon). Pass null to restore the default.
render
message
readOnlyMessage
icon
hideIcon
instance.UI.NotesPanel.setCustomEmptyPanel({ message: 'No comments yet', hideIcon: true }); Copy
instance.UI.NotesPanel.setCustomEmptyPanel({ message: 'No comments yet', hideIcon: true });
Sets what the notes panel shows when it lists no annotations:
renderwhen given; otherwisemessage(orreadOnlyMessagefor read-only documents) andicon(inline SVG markup, not drawn withhideIcon). Pass null to restore the default.