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