fs-link-preview
Web component for rendering link-previews in html content.
Installation
npm i @fireflysemantics/fs-link-preview
CDN
Include fs-link-preview
via CDN like this in the head tag of your html page:
Usage
Creating Link Previews With the Firefly Semantics fs-link-preview Web Component
<fs-link-preview imageURL="https://raw.githubusercontent.com/fireflysemantics/slice/master/logoslicelogo.png"
title="@fireflysemantics/slice"
description="Lightweight Web Application State Management"
domain="www.npmjs.com"
url="">
</fs-link-preview>
Development
Baseline
The project baseline is based on the Lit Element Typescript Starter Project.
Package
This project uses the build configuration
from the rollup starter app as well as the rollup.config.js
example configuration found in the Lit Element Typescript Starter Project.