<show-image>
Usage
If you haven't already, go through the setup for the module.
Import the
<show-image>element somewhere in the javascript side of your web-app like this:
js
import '@darksoil-studio/file-storage-zome/dist/elements/show-image.js'- Use it in the html side of your web-app like this:
html
<show-image>
</show-image>WARNING
Like all the elements in this module, <show-image> needs to be placed inside an initialized <file-storage-context>.
Demo
Here is an interactive demo of the element:
API Reference
<show-image> is a custom element, which means that it can be used in any web app or website. Here is the reference for its API: