Appearance
<create-comment>
If you haven't already, go through the setup for the module.
Import the <create-comment> element somewhere in the javascript side of your web-app like this:
import '@darksoil-studio/comments/dist/elements/create-comment.js'
<create-comment .replyTo=${ replyTo } > </create-comment>
<create-comment replyTo={ replyTo } > </create-comment>
<create-comment [replyTo]="replyTo" > </create-comment>
<create-comment :replyTo="replyTo" > </create-comment>
<create-comment reply-to={encodeHashToBase64(replyTo)} > </create-comment>
WARNING
Like all the elements in this module, <create-comment> needs to be placed inside an initialized <comments-context>.
<comments-context>
Here is an interactive demo of the element:
<create-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:
<create-comment>Usage
If you haven't already, go through the setup for the module.
Import the
<create-comment>element somewhere in the javascript side of your web-app like this:WARNING
Like all the elements in this module,
<create-comment>needs to be placed inside an initialized<comments-context>.Demo
Here is an interactive demo of the element:
API Reference
<create-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: