Skip to content

<my-notifications-list>

Usage

  1. If you haven't already, go through the setup for the module.

  2. Import the <my-notifications-list> element somewhere in the javascript side of your web-app like this:

js
import '@darksoil-studio/notifications-zome/dist/elements/my-notifications-list.js'
  1. Use it in the html side of your web-app like this:
html
<my-notifications-list>
</my-notifications-list>
html
<my-notifications-list>
</my-notifications-list>
html
<my-notifications-list>
</my-notifications-list>
html
<my-notifications-list>
</my-notifications-list>
html
<my-notifications-list>
</my-notifications-list>

WARNING

Like all the elements in this module, <my-notifications-list> needs to be placed inside an initialized <notifications-context>.

Demo

Here is an interactive demo of the element:

API Reference

<my-notifications-list> is a custom element, which means that it can be used in any web app or website. Here is the reference for its API: