This comment’s id (assigned by the server). Will be undefined
as long as no id was assigned by the server yet.
Fired when this comment was removed from the server.
Fired when the number of dislikes on this
comment changed.
Fired when this comment receives an ID. This happens after it has been successfully transfered to the server for the first time.
Fired when the number of likes on this
comment changed.
Fired when the date of the last modification of this
comment changed.
Fired when this comment is published (= made visible to the public).
Fired when this
comment’s text changed
The page this comment is on.
Comments replying to this comment. Comments in this list have this
as their #parent.
The comment this comment replies to if it’s a reply. undefined
otherwise.
Date and time this comment was submitted to the server. It’s undefined
if the comment was not submitted yet.
Whether this comment once existed on the server but is now deleted. Deleted comments may still have (not deleted) replies.
The number of dislikes placed on this comment.
Date and time at which this comment was last modified. It’s undefined
if this comment was not yet modified.
The number of likes placed on this comment.
Whether this comment is published (i.e. can be seen by anybody).
true
iff this comment exists on the server and does not await moderation.
This comments’s raw text. This is the unrendered, unfiltered text as entered by the user. The raw text is only
set if this comment was created or edited by the user. Comments received from the server do not have a raw
text set. It’s undefined
in that case.
This comments’s raw text. This is the unrendered, unfiltered text as entered by the user.
The comment’s text
. If this comment is not known to the server yet, this is undefined
.
Deletes this comment. This action may fail because the user is not allowed to delete this comment. See https://posativ.org/isso/docs/configuration/server/#guard for details. Deleting an already deleted comment has no effect.
A Promise that will be fulfilled when this
comment was deleted.
Updates this comment’s data from the server.
A promised resolved with this
when the update suceeded.
Sends this comment to the server. If this comment is not known to the server yet, this will create the comment on the server. It will be updated on the server otherwise. If this comment is updated, the action may fail because the user is not allowed to edit this comment. See https://posativ.org/isso/docs/configuration/server/#guard for details.
Calling this method has no effect if this comment wasn’t changed since the last call to it.
A promise that will be fulfilled with this
when this comment was submitted to the server.
Sends a dislike to the server, increasing the number of dislike on this comment by one.
A promise that will be resolved with the new number of dislikes when the server request succeeded.
Sends a like to the server, increasing the number of likes on this comment by one.
A promise that will be resolved with the new number of likes when the server request succeeded.
Generated using TypeDoc
A comment that’s on a Page. Holds the comment’s data and can be used to query and be updated of changes.