Events
comments.didSave
Detailed viewer event reference for comments.didSave.
Summary
- Category: Comments
- Event:
comments.didSave - Trigger: Fires after comments are persisted.
Payload
[CommentListEventPayload];
Payload fields
Payload is not an object literal. Use the declaration above and runtime guards when handling this event.
Subscription example
function onEvent(payload) {
console.log('comments.didSave', payload);
}
instance.addEventListener('comments.didSave', onEvent);
instance.removeEventListener('comments.didSave', onEvent);