Appearance
<edit-comment>
If you haven't already, go through the setup for the module.
Import the <edit-comment> element somewhere in the javascript side of your web-app like this:
import '@darksoil-studio/comments/dist/elements/edit-comment.js'
<edit-comment .commentHash=${ commentHash }> </edit-comment>
<edit-comment commentHash={ commentHash }> </edit-comment>
<edit-comment [commentHash]="commentHash"> </edit-comment>
<edit-comment :commentHash="commentHash"> </edit-comment>
<edit-comment comment-hash={encodeHashToBase64(commentHash)}> </edit-comment>
WARNING
Like all the elements in this module, <edit-comment> needs to be placed inside an initialized <comments-context>.
<comments-context>
Here is an interactive demo of the element:
<edit-comment> is a custom element, which means that it can be used in any web app or website. Here is the reference for its API:
<edit-comment>Usage
If you haven't already, go through the setup for the module.
Import the
<edit-comment>element somewhere in the javascript side of your web-app like this:WARNING
Like all the elements in this module,
<edit-comment>needs to be placed inside an initialized<comments-context>.Demo
Here is an interactive demo of the element:
API Reference
<edit-comment>is a custom element, which means that it can be used in any web app or website. Here is the reference for its API: