wired-card
wired-card is a container for other web elements - with a hand-drawn, wireframe like, look.
For demo and view the complete set of wired-elememts: wiredjs.com
Usage
Add wired-card to your project:
npm i wired-card
Import wired-card definition into your HTML page:
Or into your module script:
Use it in your web page:
Elevation: 1 Elevation: 3
Properties
elevation - Numerical number between 1-5 (inclusive) - sets the elevation of the card. Default is 1.
fill - A color to fill the background of the card in a sketchy format
Methods
requestUpdate() - When dynamically adding content to the card, call this method to recompute the boundaries of the card.