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